new pvc
This commit is contained in:
parent
c5b9df9143
commit
04d81a8619
1 changed files with 2 additions and 1 deletions
|
|
@ -24,7 +24,7 @@ steps:
|
|||
R_PKG_CACHE_DIR: /mnt/cache/pkgcache
|
||||
R_LIBS_USER: /mnt/cache/R-pkgs
|
||||
volumes:
|
||||
- arm-binaries-r-dep-cache:/mnt/cache
|
||||
- arm-binaries-r-dep-cache-rhel9:/mnt/cache
|
||||
commands:
|
||||
# download latest package version (avoid having to rebuild image every time)
|
||||
# rscript_startup arg: required to pass down global option to future workers https://github.com/HenrikBengtsson/future/issues/134#issuecomment-2245666169
|
||||
|
|
@ -32,6 +32,7 @@ steps:
|
|||
- R -q -e 'install.packages(".", repos = NULL, quiet = FALSE); packageVersion("rBinaries")'
|
||||
# manually install some packages into the cache so that some builds don't fail
|
||||
# Hmisc -> ABCanalysis
|
||||
- mkdir -p /mnt/cache/pkgcache /mnt/cache/R-pkgs
|
||||
- R -q -e 'pak::pak("Hmisc")'
|
||||
- R -q -e 'options(crayon.enabled = TRUE, Ncpus = 4, future.globals.onReference = "error"); pkgs = tools::CRAN_package_db()[[1]][1:500]; library(rBinaries); future::plan("multisession", workers = 4, rscript_startup = quote(options(crayon.enabled = TRUE))); foo = lapply(pkgs, function(x) build_binary_package(x, build_for_minor=FALSE, debug = FALSE, force = TRUE))'
|
||||
backend_options:
|
||||
|
|
|
|||
Loading…
Reference in a new issue