refactor(ci): drop redundant cranlike/desc installs

bincraft's DESCRIPTION declares 'Imports: cranlike' and
'Remotes: pat-s/cranlike@s3, pat-s/desc@description-from-remote', so
pak::pak("git::.../bincraft.git") already resolves and installs both
forks via Remotes. The explicit follow-up pak::pak() calls in
update-package-index-* were redundant.
This commit is contained in:
Patrick Schratz 2026-05-28 13:40:51 +02:00
commit 19d5fa9ed6
Signed by: pat-s
GPG key ID: 3C6318841EF78925

View file

@ -46,8 +46,6 @@ steps:
- git clone -q https://pat-s:$$REPO_RO_TOKEN@git.devxy.io/devxy/build-cran-binaries.git .
- rm -rf /mnt/cache/packages/*
- /opt/R/$R_VERSION/bin/R -q -e 'pak::pak("git::https://codefloe.com/rpkgs/bincraft.git")'
- /opt/R/$R_VERSION/bin/R -q -e 'pak::pak("pat-s/cranlike@s3")'
- /opt/R/$R_VERSION/bin/R -q -e 'pak::pak("pat-s/desc@description-from-remote")'
- /opt/R/$R_VERSION/bin/R -q -e 'packageVersion("bincraft")'
# - cd /mnt/cache/packages
- /opt/R/$R_VERSION/bin/R -q -e 'options(crayon.enabled = TRUE); library(bincraft); future::plan("multisession", workers = 4); library(progressr); handlers(global = TRUE); handlers("progress"); upload_package_index(codename = "alpine322", s3_endpoint = "https://s3.eu-central-003.backblazeb2.com", s3_region = "eu-central-003", s3_bucket = "devxy-rpkgs-binaries", s3_access_key_id = Sys.getenv("B2_S3_ACCESS_KEY"), s3_secret_access_key = Sys.getenv("B2_S3_SECRET_KEY"))'