install bincraftR from git repo
This commit is contained in:
parent
1419446894
commit
37a48b8b81
1 changed files with 36 additions and 46 deletions
|
|
@ -24,9 +24,8 @@ steps:
|
|||
# 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
|
||||
- git clone https://pat-s:$$git_ro_token@git.devxy.io/devxy/r-pkg-binaries.git .
|
||||
- rm -rf /mnt/cache/packages/*
|
||||
- rm -rf /mnt/cache/R-pkgs/stringr
|
||||
- R CMD INSTALL .
|
||||
# - rm -rf /mnt/cache/packages/*
|
||||
- R -q -e 'packageVersion("bincraftR")'
|
||||
- R -q -e 'pak::pak(c("pat-s/desc@description-from-remote", "pat-s/cranlike@s3"))'
|
||||
- cd /mnt/cache/packages
|
||||
- R -q -e 'options(crayon.enabled = TRUE); library(bincraftR); future::plan("multisession", workers = 2); library(progressr); handlers(global = TRUE); handlers("progress"); upload_package_index()'
|
||||
|
|
|
|||
Loading…
Reference in a new issue