pass down global option to future workers
This commit is contained in:
parent
c555f06ab5
commit
e61aed045e
1 changed files with 1 additions and 1 deletions
|
|
@ -24,7 +24,7 @@ steps:
|
|||
# download latest package version (avoid having to rebuild image every time)
|
||||
- git clone https://pat-s:$$git_ro_token@git.devxy.io/devxy/arm64-r-binaries.git && cd arm64-r-binaries
|
||||
- R -q -e 'install.packages(".", repos = NULL, quiet = TRUE); packageVersion("rBinaries")'
|
||||
- R -q -e 'options(crayon.enabled = TRUE, Ncpus = 2, future.globals.onReference = "error"); pkgs = tools::CRAN_package_db()[[1]][1:2]; library(rBinaries); future::plan("multisession", workers = 2); foo = lapply(pkgs, function(x) build_binary_package(x, build_for_minor=FALSE, debug = FALSE, force = TRUE))'
|
||||
- R -q -e 'options(crayon.enabled = TRUE, Ncpus = 2, future.globals.onReference = "error"); pkgs = tools::CRAN_package_db()[[1]][1:2]; library(rBinaries); future::plan("multisession", workers = 2, 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:
|
||||
kubernetes:
|
||||
resources:
|
||||
|
|
|
|||
Loading…
Reference in a new issue