Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
HYCAR-Hydro
airGR
Commits
b131e890
Commit
b131e890
authored
Apr 16, 2021
by
Dorchies David
Browse files
fix(ci): check_results() function has been removed from devtools package
parent
58e6bb68
Pipeline
#22356
failed with stages
in 4 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
b131e890
...
...
@@ -6,8 +6,6 @@ stages:
variables
:
R_LIBS_USER
:
"
$CI_PROJECT_DIR/ci/lib"
CHECK_DIR
:
"
$CI_PROJECT_DIR/ci/logs"
BUILD_LOGS_DIR
:
"
$CI_PROJECT_DIR/ci/logs/airGR.Rcheck"
default
:
before_script
:
...
...
@@ -38,8 +36,7 @@ default:
.check
:
stage
:
check
script
:
-
R -e 'devtools::check(check_dir = Sys.getenv("CHECK_DIR"), cran = !as.logical(Sys.getenv("NOT_CRAN")), env_vars = c(NOT_CRAN = Sys.getenv("NOT_CRAN")))'
-
R -e 'if (length(devtools::check_failures(path = Sys.getenv("BUILD_LOGS_DIR"), note = FALSE)) > 0) stop()'
-
R -e ' rcmdcheck::rcmdcheck(args = ifelse(as.logical(Sys.getenv("NOT_CRAN")), "", "--as-cran"), error_on = "warning")'
.check_not_cran
:
variables
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment