fix: wipe entire R-pkgs cache to rebuild from scratch after corruption from failed installs
Some checks failed
ci/crow/manual/build-all-versions-install-deps Pipeline was successful
ci/crow/manual/build-all-versions-amd64/4 Pipeline failed
ci/crow/manual/build-all-versions-amd64/5 Pipeline failed
ci/crow/manual/build-all-versions-amd64/1 Pipeline failed
ci/crow/manual/build-all-versions-amd64/3 Pipeline failed
ci/crow/manual/build-all-versions-amd64/2 Pipeline failed

This commit is contained in:
Patrick Schratz 2026-04-10 00:01:16 +02:00
commit f3d71a1112
Signed by: pat-s
GPG key ID: 3C6318841EF78925

View file

@ -23,10 +23,10 @@ steps:
volumes:
- ${ARCH}-binaries-r-dep-cache-${OS}-${OS_VERSION//./}:/mnt/cache
commands:
- rm -rf /mnt/cache/R-pkgs/00LOCK-* /mnt/cache/R-pkgs/bincraft
- rm -rf /mnt/cache/R-pkgs
- mkdir -p /mnt/cache/pkgcache /mnt/cache/R-pkgs /mnt/cache/ccache /mnt/cache/packages
- git clone -q https://codefloe.com/rpkgs/bincraft.git /tmp/bincraft
- R -q -e 'pak::local_install("/tmp/bincraft", upgrade = FALSE); packageVersion("bincraft")'
- R -q -e 'pak::local_install("/tmp/bincraft"); packageVersion("bincraft")'
backend_options:
docker:
resources: