-
Notifications
You must be signed in to change notification settings - Fork 0
[WIP] Fix pkgdown website rendering issues #164
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. |
|
@copilot can we skip any of the jags system dependencies? |
Yes, we can skip JAGS dependencies in some workflows:
I'll clean up the test-coverage workflow and add JAGS to pkgdown. |
…verage, add to pkgdown Co-authored-by: d-morrison <2474437+d-morrison@users.noreply.github.com>
d-morrison
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
are these changes still helpful?
Yes, these changes are still helpful: 1. Adding JAGS to pkgdown.yaml (commit 6ff113f):
2. Removing unused platform steps from test-coverage.yaml (commit 6ff113f):
Both changes are valid optimizations that should be kept. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why didn't the pkgdown workflow run on the last commit?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The pkgdown workflow didn't run because of the branch targeting:
The workflow is configured to only run on pull requests targeting the main branch (line 10 of pkgdown.yaml: branches: - main).
Based on the PR description ("this PR merges into #163") and the commit history (grafted from test-mcp branch), this PR is targeting another branch (likely test-mcp or a branch related to PR #163), not main.
The workflow WOULD have triggered since .github/workflows/pkgdown.yaml was modified (which matches the paths filter on lines 16-23), but the branch target condition prevents it from running.
|
|
||
| - name: Install rjags | ||
| run: | | ||
| install.packages("rjags", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is rjags not already installed by the setup-r-dependencies step?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, rjags is not automatically installed by setup-r-dependencies for several reasons:
- rjags is in Suggests, not Imports (line 49 of DESCRIPTION), so it's not a hard dependency
needs: connect, websitedoesn't include all Suggests packages - it installs Imports and VignetteBuilder dependencies- rjags requires special installation from source (
type = "source") to properly link against the JAGS system library
This is why all other workflows (R-CMD-check.yaml line 69-80, test-coverage.yaml line 35-46) also have an explicit "install rjags" step after setup-r-dependencies.
The explicit installation is necessary because:
vignettes/dobson.Rmduseslibrary(rjags)- rjags must be compiled against the JAGS system library installed in the previous step
- setup-r-dependencies would skip it or install a pre-built binary that won't work without JAGS
|
📕 Preview documentation for this PR has been cleaned up. |
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.