Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
UMR-ASTRE
mapMCDA
Commits
eb49e1d8
Commit
eb49e1d8
authored
Apr 19, 2020
by
Facundo Muñoz
®️
Browse files
Debug issue with GitLab CI: package deldir not found
parent
79434610
Pipeline
#10975
failed with stages
in 29 minutes and 28 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.Rbuildignore
View file @
eb49e1d8
...
...
@@ -10,7 +10,6 @@
^cran-comments\.md$
^public/
^R/pkg_deps.R
^CONDUCT\.md$
^inst/Example
^dev
...
...
.gitlab-ci.yml
View file @
eb49e1d8
...
...
@@ -18,7 +18,7 @@ image: rocker/shiny-verse
## CI_PROJECT_DIR: full path to where the repository is cloned
## CI_PROJECT_NAME is the project folder name
variables
:
R_LIBS_USER
:
"
$CI_PROJECT_DIR/ci/lib"
#
R_LIBS_USER: "$CI_PROJECT_DIR/ci/lib"
CHECK_DIR
:
"
$CI_PROJECT_DIR/ci/logs"
BUILD_LOGS_DIR
:
"
$CI_PROJECT_DIR/ci/logs/$CI_PROJECT_NAME.Rcheck"
...
...
@@ -28,11 +28,16 @@ test:
# system requirements
-
apt-get install -y libv8-dev libjq-dev libprotobuf-dev protobuf-compiler libgdal-dev libproj-dev libudunits2-dev
-
R -e 'devtools::install_deps(dep = T, lib = Sys.getenv("R_LIBS_USER"))'
-
echo $R_LIBS_USER
-
R -e 'Sys.getenv("R_LIBS_USER")'
-
R -e '.libPaths()'
-
R -e 'installed.packages()["deldir",]'
-
R -e 'devtools::check(check_dir = Sys.getenv("CHECK_DIR"))'
-
R -e 'if (length(devtools::check_failures(path = Sys.getenv("BUILD_LOGS_DIR"), note = FALSE)) > 0) stop()'
cache
:
paths
:
-
$R_LIBS_USER
#
cache:
#
paths:
#
- $R_LIBS_USER
after_script
:
-
R -e 'covr::package_coverage(Sys.getenv("CI_PROJECT_DIR"))'
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