Repository navigation
Make BiocCheck optional with enable_bioccheck (default true) - #43
Merged
Merged
Conversation
Adds ADR 0015 (Accepted), amending ADR 0013. Co-authored-by: Claude Code <noreply@anthropic.com>
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
Active findings remain: the cache key prevents BiocCheck from being persisted after enabling it, and ADR 0010 contradicts the new conditional-installation decision.
2 open issues
What changed in this PR
Adds optional BiocCheck execution via enable_biocheck, defaulting to enabled while preserving existing behavior.
Changes:
- Adds conditional BiocCheck installation and execution.
- Updates the workflow generator, template, documentation, and ADRs.
| File | Description |
|---|---|
| technical_notes.md | Updates canary workflow documentation for optional BiocCheck execution. |
| README.md | Documents the option to customize BiocCheck execution. |
| docs/index.html | Adds the BiocCheck enablement control and failure-policy handling to the workflow generator. |
| docs/adr/README.md | Indexes ADR 0015. |
| docs/adr/0015-optional-bioccheck.md | Updated as part of this pull request. |
| docs/adr/0013-separate-bioccheck-failure-policy.md | Updated as part of this pull request. |
| ci.yml | Enables BiocCheck explicitly in the CI template. |
| bioccheck_usage.md | Documents the enable_biocheck input and its behavior. |
| .github/workflows/bioccheck.yml | Updated as part of this pull request. |
Review effort: Lite
Addresses Copilot review on #43. Runs with enable_bioccheck: false add -no-bioccheck to the cache key, so a cache saved without BiocCheck is not reused once it is turned back on. The default key is unchanged. ADR 0010 is now marked as amended by ADR 0015. Co-authored-by: Claude Code <noreply@anthropic.com>
LiNk-NY
approved these changes
Dec 4, 2026
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.


Some callers want only R CMD check: packages not headed for Bioconductor, or accepted packages whose maintainers don't act on BiocCheck advice.
bioccheck_error_on: neverkeeps the job green but still installs and runs BiocCheck and prints the report.This PR adds a boolean input,
enable_bioccheck(defaulttrue). Whenfalse, BiocCheck is neither installed nor run andbioccheck_error_onis ignored. R CMD check, coverage, cyclocomp and pkgdown are unchanged.Not a breaking change: the input is optional, the default keeps current behaviour, and cache keys are unchanged, so no caller PRs are needed.
The template
ci.yml, the Workflow Generator (a "Run BiocCheck" checkbox that greys out the BiocCheck failure policy when unticked), the usage guide, README and technical notes are updated. ADR 0015 (Accepted) amends ADR 0013, which now links back to it.Linted with actionlint; generator JS syntax-checked; reviewed by a local review agent, whose fixes are included. Not yet run in CI on a real package.
Drafted with Claude Code.