Repository navigation
Install pkgdown before pkgdown::build_site() - #4
Merged
Merged
Conversation
The reusable workflow installs remotes/rcmdcheck/BiocCheck/covr plus the package's declared dependencies, but nothing installs pkgdown, so the Build pkgdown step (release-branch pushes with enable_pkgdown) fails unless a calling package happens to Suggest it. Install it just before use. Flagged by Copilot review on waldronlab/curatedCRCData#5. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
There was a problem hiding this comment.
Copilot review overview
🟡 Changes recommended
The installation does not honor the workflow’s configured CRAN repository.
Review effort: Balanced
Findings: 1
What changed in this PR
Installs pkgdown before building package documentation.
Changes:
- Adds conditional
pkgdowninstallation beforebuild_site().
| File | Description |
|---|---|
.github/workflows/bioc-pr-cmdcheck-pkgdown.yml |
Installs pkgdown before site generation. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Set options(repos) from the CRAN env var before BiocManager::install, matching the workflow's other install steps. Flagged by Copilot. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Member
Author
|
Good catch — now sets options(repos) from the CRAN env var before installing, matching the other install steps. 🤖 Drafted with Claude Code |
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.

The dependency setup installs remotes/rcmdcheck/BiocCheck/covr plus each calling package's declared dependencies, but nothing installs pkgdown itself, so the
Build pkgdownstep (release-branch pushes withenable_pkgdown, the default) fails unless the calling package happens to list pkgdown in Suggests — which none of the curated*Data packages do, and adding it there risks "suggested but not available" notes on the Bioconductor builders. Install it just before use instead.Flagged by Copilot review on waldronlab/curatedCRCData#5.
🤖 Generated with Claude Code