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
b0ad6d6f
Commit
b0ad6d6f
authored
Apr 17, 2021
by
Dorchies David
Browse files
fix(ci): libPaths issue with R v4.0.5
parent
20467dc6
Pipeline
#22362
passed with stages
in 9 minutes and 4 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
b0ad6d6f
stages
:
-
build
-
check
-
regression
-
revdepcheck
variables
:
R_LIBS_USER
:
"
$CI_PROJECT_DIR/ci/lib"
default
:
before_script
:
-
echo "setwd(\"$(pwd)\")" > .Rprofile
-
echo ".libPaths <- c(Sys.getenv(\"R_LIBS_USER\"), .libPaths())" >> .Rprofile
-
PATH=~/R/sources/R-${R_VERSION}/bin:$PATH
-
rename "s/${R_VERSION}.airGR/airGR/" *.tar.gz
.build
:
stage
:
build
script
:
-
cd ..
-
echo "setwd(\"$(pwd)\")" > .Rprofile
-
R -e 'Sys.getenv()'
-
R -e '.libPaths()'
-
R -e 'utils::install.packages("usethis", repo = "https://cloud.r-project.org/")'
-
R -e 'remotes::install_deps(pkgdir = "airgr", dep = T)'
-
R CMD build airgr
artifacts
:
untracked
:
true
expire_in
:
1 week
-
R -e 'remotes::install_deps(dep = T)'
.regression
:
stage
:
regression
...
...
@@ -50,11 +33,6 @@ default:
NOT_CRAN
:
"
false"
extends
:
.check
build_patched
:
variables
:
R_VERSION
:
"
patched"
extends
:
.build
regression_patched
:
variables
:
R_VERSION
:
"
patched"
...
...
@@ -86,15 +64,6 @@ check_as_cran_patched:
R_VERSION
:
"
patched"
extends
:
.check_as_cran
build_devel
:
only
:
refs
:
-
tags
-
schedules
variables
:
R_VERSION
:
"
devel"
extends
:
.build
check_not_cran_devel
:
only
:
refs
:
...
...
@@ -113,15 +82,6 @@ check_as_cran_devel:
R_VERSION
:
"
devel"
extends
:
.check_as_cran
build_oldrel
:
only
:
refs
:
-
tags
-
schedules
variables
:
R_VERSION
:
"
oldrel"
extends
:
.build
check_not_cran_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