Skip to content

ci: check against r-devel on windows as well as ubuntu - #31

Merged
samuelbharti merged 1 commit into
devfrom
ci/windows-r-devel
Aug 23, 2026
Merged

ci: check against r-devel on windows as well as ubuntu#31
samuelbharti merged 1 commit into
devfrom
ci/windows-r-devel

Conversation

@samuelbharti

Copy link
Copy Markdown
Owner

Adds { os: windows-latest, r: "devel" } to the R-CMD-check matrix.

Why

Windows plus r-devel is the pair CRAN's own incoming check runs when a
tarball is submitted. r-lib's examples/check-standard.yaml, which this
matrix was copied from, puts devel on ubuntu only, so that combination was
the one thing nothing here covered.

The gap was being filled by hand with devtools::check_win_devel(), which
uploads a tarball to win-builder and emails the result back. That works, but
it depends on someone remembering to do it, and the result arrives somewhere
the repository cannot see. A matrix entry runs on every pull request instead.

Worth recording what this does not solve. The review comments CRAN raised
on a sibling package were about references in the Description field,
commented-out code in examples, and Suggests guards. None of those are
machine-detectable, and no amount of platform coverage would have caught
them. This closes a check-coverage gap, not a review-readiness one.

Not required for merge, deliberately

main's protection lists ten required checks by name, and the new job
reports as R-CMD-check (windows-latest, devel), which is not among them. It
runs and reports without blocking.

That is the intended starting state. Windows r-devel is the least stable
square in the matrix, because CRAN's Windows r-devel binaries sometimes lag
and dependencies then build from source through Rtools. Making it required
immediately means an upstream hiccup blocks every merge, a release PR
included. Promote it once it has a track record.

Checks

The change is one matrix entry. The workflow parses, and prek run --all-files is clean.

Windows plus r-devel is the pair CRAN's incoming check runs, and
r-lib's standard matrix leaves it out, so it was the one combination
nothing here covered. Running it in CI means a submission no longer
depends on remembering to send a tarball to win-builder by hand.
@samuelbharti
samuelbharti merged commit 11bc805 into dev Aug 23, 2026
12 checks passed
@samuelbharti
samuelbharti deleted the ci/windows-r-devel branch August 23, 2026 02:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant