Commit 78fe6451 authored by Dorchies David's avatar Dorchies David
Browse files

Merge branch '148-revdepcheck-failed-on-airgriwrm-installation' into 'dev'

Resolve "revdepcheck failed on airGRiwrm installation"

Closes #148

See merge request HYCAR-Hydro/airgr!74
No related merge requests found
Showing with 9 additions and 3 deletions
+9 -3
......@@ -4,7 +4,8 @@ stages:
- revdepcheck
variables:
R_LIBS_USER: "$CI_PROJECT_DIR/ci/lib"
R_CI: "$CI_PROJECT_DIR/ci"
R_LIBS_USER: "$R_CI/lib"
default:
tags: [docker]
......@@ -12,7 +13,7 @@ default:
cache:
key: "airGR-${R_VERSION}"
paths:
- $R_LIBS_USER
- $R_CI
before_script:
- mkdir -p $R_LIBS_USER
......@@ -139,9 +140,14 @@ revdepcheck_devel:
- schedule
- master
extends: .R-devel
variables:
CRANCACHE_DIR: "$R_CI/R-crancache"
script:
- R -q -e 'remotes::install_github("https://github.com/r-lib/revdepcheck")'
- R -q -e 'revdepcheck::revdep_check(timeout = as.difftime(20, units = "mins"))'
- R -q -e 'remotes::update_packages("crancache")'
- R -q -e 'library(crancache); remotes::update_packages(revdepcheck::cran_revdeps("airGR"))'
- R -q -e 'revdepcheck::revdep_check(timeout = as.difftime(30, units = "mins"))'
- R -q -e 'stopifnot(all("+" == sapply(revdepcheck::revdep_summary(), "[[", "status")))'
- R -q -e 'if (any(sapply(revdepcheck::revdep_summary(), function(x) {any(x$cmp$change == 1)}))) stop()'
artifacts:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment