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
IN-WOP
airGRiwrm
Commits
bb3e10dc
Commit
bb3e10dc
authored
Jun 30, 2021
by
Dorchies David
Browse files
ci: same error as in airGR with last versions of devtools (check failures has been removed)
Refs
HYCAR-Hydro/airgr@58e6bb68 (comment 37448)
parent
2b7dbe6e
Pipeline
#24459
failed with stage
in 4 minutes and 35 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
bb3e10dc
...
...
@@ -23,6 +23,7 @@ cache:
before_script
:
-
mkdir -p $R_LIBS_USER $BUILD_LOGS_DIR
-
echo "R_LIBS='$R_LIBS_USER'" > .Renviron
-
R -e 'install.packages("rcmdcheck")'
-
R -e 'devtools::install_deps(dep = T)'
-
R -e 'remotes::install_gitlab("HYCAR-Hydro/airgr@131-runmodel_lag-extra-names-attribute-on-outputsmodel-qsim", host = "gitlab.irstea.fr")'
...
...
@@ -30,8 +31,7 @@ before_script:
stage
:
checks
script
:
-
if [[ $NOT_CRAN == "false" ]]; then sudo apt-get update && sudo apt-get install -y qpdf; fi
-
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