ci: bring the reusable workflow to development; pin exact R versions - #24
ci: bring the reusable workflow to development; pin exact R versions#24achubaty wants to merge 2 commits into
Conversation
Replaces this repo's hand-rolled matrix with a thin caller, so third-party action versions, system dependencies, caching and the check itself are maintained in one place instead of 17. Bumping actions/checkout there now updates every repo at once. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012DVjmY3im9Xak7tXLSMGCa
The oldrel-N ladder is not monotone on ubuntu-latest: oldrel-4 and oldrel-5 both resolve to 4.1.3, R 4.2 is unreachable entirely, and on ubuntu-22.04 oldrel-4 gives R 3.6.3. It also shifts under you every time R releases. Pin the deep legs to exact versions instead -- 4.3 is what DESCRIPTION declares, so it is what the matrix should prove. test-coverage.yaml still pinned install-spatial-deps@v0.2, which adds the ubuntugis PPA. That installs libgdal37 while Posit's noble binaries link libgdal34; the mismatch only surfaces at lazy-load. @main dropped the PPA. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Correction: the
|
|
For the packages I maintain I am keeping the R-version matrix on But I am not the maintainer of this package, you are, so I am leaving this entirely to your call. This seems reasonable to decide package by package rather than to settle org-wide, and I have no objection either way here. One separate note on this PR specifically, unrelated to the pinning question: the reusable-workflow half is a straight improvement, and it migrates |
developmentnever received the reusable-workflow migration — PR #23 was based on and merged intomain, so the branch every PR actually targets still runs the old self-managed workflow.Cherry-picks the migration (
f6aa3ef) rather than mergingmain, becausemainalso carries 34 committeddocs/files thatdevelopmentdeliberately does not have.Three changes
1. R-CMD-check now calls the org reusable workflow — the same file that has been on
mainsince #23.2. The deep matrix legs are pinned to exact R versions instead of
oldrel-N. The oldrel ladder is platform-dependent and not monotone. Resolved against the exact platform stringsetup-rsends:r: "4.3"resolves to 4.3.3 identically on Linux, macOS and Windows, and Posit ships noble.debs down to 4.0.5. 4.3 is this package's declared floor (DESCRIPTION: R >= 4.3), which the matrix previously never tested —oldrel-2stops at 4.4.3.
test-coverage.yamlrepointed frominstall-spatial-deps@v0.2to@main. Every published tag, v0.1 through v0.5, still runsadd-apt-repository -y ppa:ubuntugis/ubuntugis-unstable. That installs libgdal37 while Posit's noble binaries link libgdal34, and the mismatch only surfaces at lazy-load. Only@maindropped it.Note
mainstill has the@v0.2pin intest-coverage.yaml; it catches up at the next release merge.🤖 Generated with Claude Code