Every build started from an empty container and recompiled R, JASP and 1000+
R packages, which is days of CPU on the runner. Now:
- /srv/jasp-cache on the host holds ccache and the renv package cache, linked
into the paths jaspModuleTools::compile() hard-codes.
- RENV_PATHS_PREFIX is fixed: renv otherwise keys the cache on the archlinux
image's build date, so any newer image started cold.
- Cached packages with unresolved sonames after an Arch update are purged, so
only those are rebuilt.
- R packages compile without -g (the Stan/Eigen ones spend real time and GBs of
memory on debug info), and retry passes skip modules that already built.
Claude-Session: https://claude.ai/code/session_01GGe7kUhooMFuzY6GaDb2w9