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
ac915da3
Commit
ac915da3
authored
Apr 06, 2021
by
Dorchies David
Browse files
ci: dependencies issue
Refs
#86
parent
cb03eda3
Pipeline
#22031
failed with stages
in 1 minute and 43 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
ac915da3
stages
:
-
update_packages
-
build
-
regression
-
tests
...
...
@@ -14,16 +13,7 @@ default:
-
echo "setwd(\"$(pwd)\")" > .Rprofile
-
PATH=~/R/sources/R-${R_VERSION}/bin:$PATH
-
rename "s/${R_VERSION}.airGR/airGR/" *.tar.gz
-
R -e 'chooseCRANmirror(graphics = FALSE, ind = 1); pkg <- "caRamel"; pkgInst <- installed.packages()[, "Package"]; pkgMiss <- setdiff(pkg, pkgInst); if (length(pkgMiss) > 0) install.packages(pkgMiss)'
.update_packages
:
stage
:
update_packages
only
:
refs
:
-
tags
-
schedules
script
:
-
Rscript -e "update.packages(ask=FALSE, repos=\"http://cran.r-project.org\")"
-
R -e 'remotes::install_deps(dep = T)'
.build
:
stage
:
build
...
...
@@ -63,11 +53,6 @@ default:
AS_CRAN
:
"
true"
extends
:
.check
update_packages_patched
:
variables
:
R_VERSION
:
"
patched"
extends
:
.update_packages
build_patched
:
variables
:
R_VERSION
:
"
patched"
...
...
@@ -104,11 +89,6 @@ check_as_cran_patched:
R_VERSION
:
"
patched"
extends
:
.check_as_cran
update_packages_devel
:
variables
:
R_VERSION
:
"
devel"
extends
:
.update_packages
build_devel
:
only
:
refs
:
...
...
@@ -136,11 +116,6 @@ check_as_cran_devel:
R_VERSION
:
"
devel"
extends
:
.check_as_cran
update_packages_oldrel
:
variables
:
R_VERSION
:
"
oldrel"
extends
:
.update_packages
build_oldrel
:
only
:
refs
:
...
...
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