Skip to content

Install testthat in R-CMD-check workflow - #33

Merged
asgr merged 2 commits into
masterfrom
copilot/fix-macos-latest-release-job
Oct 28, 2026
Merged

asgr merged 2 commits into
masterfrom
copilot/fix-macos-latest-release-job

Conversation

Copilot AI commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor

The macOS release job failed because R CMD check ran the test suite without testthat installed. The workflow installs only hard dependencies, while testthat is a suggested package.

  • CI dependencies: Add any::testthat to the workflow’s extra packages so tests can run across the CI matrix.

Co-authored-by: asgr <5617132+asgr@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix failing GitHub Actions job macOS-latest (release) Install testthat in R-CMD-check workflow Oct 28, 2026
Copilot AI requested a review from asgr October 28, 2026 09:38
@asgr
asgr marked this pull request as ready for review October 28, 2026 09:41
Copilot AI balanced review requested due to automatic review settings October 28, 2026 09:41
@asgr
asgr merged commit dcfac56 into master Oct 28, 2026
@asgr
asgr deleted the copilot/fix-macos-latest-release-job branch October 28, 2026 09:41

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

No active review issues were identified for the workflow change that explicitly installs testthat.

No open issues 🎉

What changed in this PR

This PR fixes the missing test dependency in the R-CMD-check workflow so the package’s test suite can run across the CI matrix.

Changes:

  • Adds any::testthat to the explicitly installed extra packages, since the workflow’s hard-dependency installation excludes suggested packages.
File Description
.github/​workflows/​main.yml Explicitly installs testthat before running R CMD check.

Review effort: Balanced

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.

3 participants