fix: use pak::local_install() from cloned path to avoid git URL resolution bug
Some checks failed
ci/crow/manual/build-all-versions-amd64/4 Pipeline failed
ci/crow/manual/build-all-versions-amd64/3 Pipeline failed
ci/crow/manual/build-all-versions-amd64/5 Pipeline failed
ci/crow/manual/build-all-versions-amd64/2 Pipeline failed
ci/crow/manual/build-all-versions-amd64/1 Pipeline failed
ci/crow/cron/process-updates-alpine-322-arm64 Pipeline was successful

This commit is contained in:
Patrick Schratz 2026-04-09 23:27:50 +02:00
commit 7d58aa7e59
Signed by: pat-s
GPG key ID: 3C6318841EF78925

View file

@ -65,7 +65,7 @@ steps:
commands:
- git clone -q https://pat-s:$$REPO_RO_TOKEN@git.devxy.io/devxy/build-cran-binaries.git .
- rm -rf /mnt/cache/R-pkgs/00LOCK-*
- git clone -q https://codefloe.com/rpkgs/bincraft.git /tmp/bincraft && R CMD INSTALL --no-deps /tmp/bincraft && R -q -e 'packageVersion("bincraft")'
- git clone -q https://codefloe.com/rpkgs/bincraft.git /tmp/bincraft && R -q -e 'pak::local_install("/tmp/bincraft"); packageVersion("bincraft")'
- mkdir -p /mnt/cache/pkgcache /mnt/cache/R-pkgs /mnt/cache/ccache /mnt/cache/packages
# Windows-only: 'RInno', 'KeyboardSimulator', 'R2PPT', 'RWinEdt', 'blatr', 'excel.link', 'spectrino', 'taskscheduleR', 'MDSGUI', 'BiplotGUI', 'R2wd', 'rFUSION', 'MediaNews', 'rFUSION', 'MediaNews'
# pkgs = readRDS('/mnt/cache/pkgs_amd64.rds');