Fix R-CMD-check: include LinkingTo deps for source package builds - #161
Merged
Merged
Conversation
…deps for source packages Co-authored-by: lilyclements <21180424+lilyclements@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix failing GitHub Actions job R-CMD-check
Fix R-CMD-check: include LinkingTo deps for source package builds
Aug 5, 2026
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #161 +/- ##
=======================================
Coverage 91.68% 91.68%
=======================================
Files 63 63
Lines 1744 1744
=======================================
Hits 1599 1599
Misses 145 145 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
CI fails when
graphlayoutsis served as a source package by Posit Package Manager — pak omitsLinkingTodeps (likeRcppArmadillo) from the plan since binaries don't need them, but source builds do.Changes
.github/workflows/check-release.yaml: AddPKG_INCLUDE_LINKINGTO: trueto the job env, ensuringLinkingTodependencies are always included in the installation plan when a package falls back to a source build.