Skip to content

Fix: Correct formatting in CI dependency list#8

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

Fix: Correct formatting in CI dependency list#8
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 fixes a formatting issue in the packages list within the r-lib/actions/setup-r-dependencies step of the GitHub Actions workflow (.github/workflows/R-CMD-check.yml).

Previously, comments on the same line as package names, or improperly formatted comments, caused pak to fail with a parsing error: "Cannot parse packages: # and check-r-package."

Package names (packrat, rcmdcheck) are now listed one per line, and all comments are on their own separate lines, correctly prefixed. This ensures that pak can correctly parse the list of packages to install.

This commit fixes a formatting issue in the `packages` list within the
`r-lib/actions/setup-r-dependencies` step of the GitHub Actions workflow
(`.github/workflows/R-CMD-check.yml`).

Previously, comments on the same line as package names, or improperly
formatted comments, caused `pak` to fail with a parsing error:
"Cannot parse packages: # and check-r-package."

Package names (`packrat`, `rcmdcheck`) are now listed one per line,
and all comments are on their own separate lines, correctly prefixed.
This ensures that `pak` can correctly parse the list of packages to install.
@pplupo pplupo merged commit 0cc75da 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