fix(ci): install the R packages pipelines use instead of relying on the image #238
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/pipeline-r-deps"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Every
process-cran-updates-redhat-9-arm64run since bincraft v5.5.1 fails withthere is no package called 'progressr'(e.g. pipeline 14179).Cause
bincraft v5.5.1 dropped
lubridate,dplyr,purrr,data.table,gert,ghandcranlikefrom its imports.The pipelines call some of these directly, and so far got them from the build-env image's site library or the shared
R_LIBS_USERcache.The arm64
redhat:9image has noprogressr(and nobincraft) under R 4.4.3, and noRPostgres,dplyrorpurrrunder R 4.5.3.The amd64 image has all of them, which is why only this slot broke.
Changes
process-updates.yaml: installprogressrandlubridate, which the inline R calls use (progressr::handlers,$INTERVAL).build-all-versions*.yaml: installpurrrforpackages-to-build.R.weekly-audit-missing.yaml: installdata.tablefor the audit script.local/packages-to-build.R: drop the unuseddplyrandprogressrlibrary()calls.reindex,weekly-rebuild-reindex,weekly-rebuild-missing,backfill-*,rebuild-abi-gap,repair-unsafe-flat-objects,prune-stale-flat-binaries: installRPostgres, because bincraft quietly skips the metadata DB without it and the per-minor index build aborts.prune-stale-flat-binaries.yaml: reinstall bincraft in the re-index step, since its/tmp/R-pkgslibrary doesn't survive from the prune step.Verification
crow lint .crow/passes;prekpasses on the changed files.build-env-redhat:9images.