Skip to content

Fix: Explicitly install rcmdcheck in CI workflow#10

Merged
pplupo merged 1 commit into
masterfrom
update-r-version-4.5.0
Jun 12, 2025
Merged

Fix: Explicitly install rcmdcheck in CI workflow#10
pplupo merged 1 commit into
masterfrom
update-r-version-4.5.0

Conversation

@pplupo
Copy link
Copy Markdown
Owner

@pplupo pplupo commented Jun 12, 2025

This commit modifies the GitHub Actions workflow to ensure the rcmdcheck R package is installed reliably. Instead of relying on its inclusion in the r-lib/actions/setup-r-dependencies step, rcmdcheck is now installed explicitly using a dedicated Rscript command.

Changes in .github/workflows/R-CMD-check.yml:

  • The r-lib/actions/setup-r-dependencies step is now configured to only install packrat.
  • A new step Install rcmdcheck has been added, which runs Rscript -e "install.packages('rcmdcheck', repos = 'https://cloud.r-project.org')".

This change provides a more direct and robust method for installing rcmdcheck, which is a crucial dependency for the r-lib/actions/check-r-package step. This aims to resolve the persistent "there is no package called 'rcmdcheck'" error.

This commit modifies the GitHub Actions workflow to ensure the `rcmdcheck`
R package is installed reliably. Instead of relying on its inclusion in
the `r-lib/actions/setup-r-dependencies` step, `rcmdcheck` is now
installed explicitly using a dedicated `Rscript` command.

Changes in `.github/workflows/R-CMD-check.yml`:
- The `r-lib/actions/setup-r-dependencies` step is now configured to
  only install `packrat`.
- A new step `Install rcmdcheck` has been added, which runs
  `Rscript -e "install.packages('rcmdcheck', repos = 'https://cloud.r-project.org')"`.

This change provides a more direct and robust method for installing
`rcmdcheck`, which is a crucial dependency for the
`r-lib/actions/check-r-package` step. This aims to resolve the
persistent "there is no package called 'rcmdcheck'" error.
@pplupo pplupo merged commit b926b02 into master Jun 12, 2025
1 check failed
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