refactor: single source of truth for excluded packages #79
Loading…
Reference in a new issue
No description provided.
Delete branch "pr/single-excluded-packages-source"
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?
Summary
local/build-all.Rhad a 75-name hardcodedexclude <- c(...)vector that had drifted fromlocal/excluded-packages.json—RcmdrPlugin.ROCwas in the R vector but missing from the JSON..crow/weekly-rebuild-missing-*.yamlalready reads the JSON viajsonlite::fromJSON(...)[["package"]]. This bringsbuild-all.Rin line with that pattern.Changes:
local/excluded-packages.json: add the missingRcmdrPlugin.ROCentry (reason"hang", matching siblings).local/build-all.R: replace the 16-line hardcoded vector with onejsonlite::fromJSON(...)call..crow/build-all-versions-install-deps-{amd,arm}64.yaml: addjsonliteto the install-depspak::pak()list so it's available in/mnt/cache/R-pkgsfor the build step..crow/build-all-versions-arm64.yaml: drop the dead base64-encodedSKIP_PKGSdocs comment that nobody was passing as a--varanyway; replace with a one-line pointer to the JSON.local/build-all.R had a 75-name hardcoded vector that drifted from local/excluded-packages.json (RcmdrPlugin.ROC was in the R vector but missing from the JSON). weekly-rebuild-missing-* already reads the JSON, so this aligns build-all.R with that pattern. - Add the missing RcmdrPlugin.ROC entry to excluded-packages.json - Replace the hardcoded vector in build-all.R with jsonlite::fromJSON("local/excluded-packages.json")[["package"]] - Pull jsonlite into the install-deps step so it's available in /mnt/cache/R-pkgs for the build step - Drop the dead base64 SKIP_PKGS docs comment from build-all-versions-arm64.yaml; point to the JSON instead