tryCatch error in pkgbuild::build

This commit is contained in:
Patrick Schratz 2024-07-29 14:34:01 +02:00
commit b4ff36dfa8
Signed by: pat-s
GPG key ID: 3C6318841EF78925

View file

@ -49,13 +49,20 @@ steps:
- R -q -e 'options(crayon.enabled = TRUE, Ncpus = 6, future.globals.onReference = "error", repos = structure(c(getOption("repos"),INLA="https://inla.r-inla-download.org/R/stable"))); pkgs = tools::CRAN_package_db()[[1]][${BLOCK}]; library(rBinaries); future::plan("multisession", workers = 6, rscript_startup = quote(options(crayon.enabled = TRUE))); foo = lapply(pkgs, function(x) build_binary_package(x, build_for_minor=FALSE, debug = TRUE, force = TRUE))'
backend_options:
kubernetes:
# resources:
# requests:
# memory: 25Gi
# cpu: 12000m
# limits:
# memory: 28Gi
# cpu: 16000m
resources:
requests:
memory: 25Gi
cpu: 12000m
memory: 4Gi
cpu: 2000m
limits:
memory: 28Gi
cpu: 16000m
memory: 4Gi
cpu: 2000m
nodeSelector:
kubernetes.io/arch: 'arm64'
- name: Upload PACKAGES files