Runs R CMD build, R CMD check, and BiocCheck against a Bioconductor package, distinguishing real defects from environment gaps and false positives.
Ships in bioc-r-packages. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Run the Bioconductor validation toolchain against a package and interpret what comes back, including the failures that look like package defects but are not.
DESCRIPTIONBiocCheck installed: BiocManager::install("BiocCheck")pandoc for .Rmd, a LaTeX distribution for .RnwRun in this order.
Build the tarball.
R CMD build <package_dir>
Then check the tarball, not the source directory: that is what the Bioconductor build system
does, and it exercises .Rbuildignore handling and vignette rebuilding.
Check the tarball.
R CMD check <package>_<version>.tar.gz
Add --no-manual only if texi2dvi is unavailable, and say so in the report rather than
presenting the run as complete.
BiocCheck on the git clone. Point it at the source directory:
BiocCheck::BiocCheckGitClone("<package_dir>")
This catches files that must not be tracked in git; it is the only step that reads the working tree and not the tarball.
BiocCheck on the tarball. Both entry points accept either a directory or a tarball;
point this one at the built tarball, which is what the build system checks. Use new-package = TRUE only for a first submission:
BiocCheck::BiocCheck("<package>_<version>.tar.gz", `new-package` = TRUE)
Save the raw outputs in one directory under the names other tools read:
check_results.txt (the R CMD check log), bioccheck_results.txt (the BiocCheck console
output, including its * Checking ... lines and the final totals), and, if you measure
coverage, coverage.json and coverage_summary.txt written like this:
cov <- covr::package_coverage("<package_dir>", type = "all")
jsonlite::write_json(covr::coverage_to_list(cov), "coverage.json", auto_unbox = TRUE, pretty = TRUE)
writeLines(c(paste0("Total Coverage: ", round(covr::percent_coverage(cov), 2), "%"), "",
capture.output(print(cov))), "coverage_summary.txt")
The bioc-pkg-review skill reads these files, and Bioconductor's reviewer tool accepts them
with --artifacts.
Classify every finding before reporting (see below). Do not hand back raw tool output.
The gate is no ERRORs and no WARNINGs on all of the above; NOTEs should be addressed where
practical, and unresolved ones may be questioned in review. That rule is Bioconductor policy;
see bioc-pkg-dev (knowledge/development/build-check-bioccheck.md) for its wording and
chapter source.
Classify each finding into one of four buckets:
a. Real defect in the package. Fix it.
b. Account or environment action, not code. These are ERRORs the package author cannot fix by editing files:
https://support.bioconductor.org/api/watched/tags/<url-encoded-email>, which returns the
watched_tags list BiocCheck compares against (lowercased).c. Missing tooling, reported as a package failure. A vignette that fails to build because
pandoc or a LaTeX package is absent is an environment gap. Report it as such and install the
dependency; do not "fix" the vignette.
d. Known false positives. Verify before acting:
checkSingleColon flags every X: token whose X matches a name in
BiocManager::available(), hunting for pkg:fun typo'd from pkg::fun. A range expression
over a local variable whose name collides with a CRAN package — ROOT:(n + m), c3:c4 —
is flagged identically. Confirm with "<name>" %in% BiocManager::available() before
changing code.Two findings are worth calling out explicitly rather than burying in a count:
set.seed removal when the
man page documents a seed argument as a reproducibility guarantee — should be disclosed and
argued in the submission issue, not silently "fixed" by breaking a documented contract.## Validation: [Package] [version]
| Step | Result |
|---|---|
| R CMD build | [tarball produced / FAILED] |
| R CMD check | [Status: OK / n errors, n warnings, n notes] |
| BiocCheckGitClone | [n errors, n warnings] |
| BiocCheck(new-package) | [n errors, n warnings, n notes] |
**Verdict**: [passes the gate / blocked]
### Blocking (ERROR / WARNING)
- [finding] — [bucket a/b/c/d] — [what to do]
### Non-blocking (NOTE)
- [finding] — [what to do, or why it is being left]
### Not a package defect
- [environment gaps, account actions, verified false positives]
Report the per-step counts from the tools themselves, not a wrapper script's exit code:
BiocCheck exits non-zero whenever it reports ERRORs.
A report for a first submission:
## Validation: examplePkg 0.99.0
| Step | Result |
|---|---|
| R CMD build | tarball produced |
| R CMD check | Status: OK |
| BiocCheckGitClone | 0 errors, 0 warnings |
| BiocCheck(new-package) | 1 error, 2 warnings, 12 notes |
**Verdict**: blocked
### Blocking
- ERROR: 'examplepkg' tag missing from Watched Tags — bucket b — set it on the Support
Site profile; no code change required.
- WARNING: Use RMarkdown instead of Sweave 'Rnw' vignettes — bucket a — convert
`vignettes/intro.Rnw`.
### Not a package defect
- Vignette build failed on missing `tcolorbox.sty`; installed via
`tinytex::tlmgr_install("tcolorbox")` and re-ran.
bioc-pkg-dev (as the gate step of the submission workflow)analyze-r-package, improve-code-coverageSee also: bioc-pkg-dev, analyze-r-package
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
/bioc-r-packages:build-check-bioccheckfrom bioc-r-packages
npx claudepluginhub bioconductor/ai-agent-skills --plugin bioc-r-packages13 skills in this plugin
/analyze-r-packageAnalyze R/Bioconductor package structure to extract key information about its purpose, exports, and characteristics/bioc-howtoA consolidated index of Bioconductor how-to skills covering genomics, sequencing, and omics data analysis tasks/bioc-pkg-devGuide an R package or a set of analysis scripts through Bioconductor submission: the pre-submission gate, the Contributions tracker, and post-acceptance maintenance/bioc-pkg-finderFind the R / Bioconductor packages best suited to a task or workflow/bioc-pkg-reviewReview your own R package against the rubric and checklist Bioconductor's agent-assisted reviewer uses, before you submit, so the human review has less to say/create-package-instructionsCreate complete AI instruction documentation for an R/Bioconductor package in .github/instructions/Other plugins' skills for the same job