Skip to content
Snippets Groups Projects

Fix CI check libs issue

Merged Facundo Muñoz requested to merge fix-ci-check-libs-issue into main
1 file
+ 4
1
Compare changes
  • Side-by-side
  • Inline
+ 4
1
@@ -24,7 +24,10 @@ building:
- Rscript -e "remotes::install_deps(dependencies = TRUE, lib = Sys.getenv('R_LIBS_USER'))"
# Install packages required by covr and pkgdown
- Rscript -e "install.packages(c('DT', 'pkgdown'), lib = Sys.getenv('R_LIBS_USER'))"
- Rscript -e "devtools::check(check_dir = Sys.getenv('CHECK_DIR'))"
# Use --no-environ to prevent setting the environment variable R_LIBS from Rprofile.site
# which caused R_LIBS_USER to appear last in .libPaths(), which in turn prevented check()
# to find the packages installed in R_LIBS_USER, leading to a installation error.
- Rscript --no-environ -e "devtools::check(check_dir = Sys.getenv('CHECK_DIR'))"
cache:
key: default_3
paths:
Loading