Skip to content

bugfix: R CI#2672

Merged
tcuongd merged 5 commits intomainfrom
cduong/fix-r-ci
May 15, 2025
Merged

bugfix: R CI#2672
tcuongd merged 5 commits intomainfrom
cduong/fix-r-ci

Conversation

@tcuongd
Copy link
Copy Markdown
Collaborator

@tcuongd tcuongd commented May 15, 2025

No description provided.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR fixes and streamlines the R CI workflow by updating the runner image and package manager, centralizing dependency setup, and adding key environment variables.

  • Switched to ubuntu-latest and updated RSPM URL to posit.co
  • Added GITHUB_PAT, R_KEEP_PKG_SOURCE, and PKGDIR environment variables
  • Replaced manual dependency commands with r-lib/actions/setup-r-dependencies
Comments suppressed due to low confidence (1)

.github/workflows/build-and-test.yml:90

  • This working-directory key is indented under the previous step instead of its intended action. Align it with the corresponding uses line for the check-r-package step so it applies correctly.
working-directory: ${{ env.PKGDIR }}

Comment thread .github/workflows/build-and-test.yml Outdated
any::testthat
any::readr
any::rmarkdown
needs: check
Copy link

Copilot AI May 15, 2025

Choose a reason for hiding this comment

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

The needs attribute is placed under the action's with block, but it should be declared at the job level. Move needs: check out of the with section to define a job dependency correctly.

Suggested change
needs: check

Copilot uses AI. Check for mistakes.
@tcuongd tcuongd merged commit e9593f2 into main May 15, 2025
6 checks passed
@tcuongd tcuongd deleted the cduong/fix-r-ci branch January 27, 2026 01:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants