Skip to content

Drop --as-cran from R CMD check - #32

Merged
lwaldron merged 1 commit into
mainfrom
drop-as-cran
Oct 6, 2026
Merged

lwaldron merged 1 commit into
mainfrom
drop-as-cran

Conversation

@lwaldron

@lwaldron lwaldron commented Oct 6, 2026

Copy link
Copy Markdown
Collaborator

rcmdcheck in the reusable bioccheck.yml workflow was running with --as-cran. Bioconductor packages are checked against Bioconductor policy, not CRAN policy, so the CRAN-only checks produce NOTEs that are irrelevant here, and with error_on: 'warning' they can fail the job for things Bioconductor doesn't care about. Example: https://github.com/waldronlab/curatedMetagenomicData/actions/runs/37500050547/job/112394531507#step:7:79

Changes:

  • args = c("--no-manual", "--as-cran") becomes args = "--no-manual"
  • Removes the job-level _R_CHECK_CRAN_INCOMING_REMOTE_: 'false', which only existed to suppress the remote incoming checks that --as-cran turns on

BiocCheck still runs on the tarball and covers the Bioconductor-specific requirements.

🤖 Generated with Claude Code

Bioconductor packages are checked against Bioconductor policy, not CRAN
policy, so --as-cran produces NOTEs that are irrelevant here (and can
fail the job under error_on: warning). BiocCheck already covers the
Bioconductor-specific requirements.

Also removes _R_CHECK_CRAN_INCOMING_REMOTE_, which only existed to
suppress the remote incoming checks that --as-cran turns on.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Copilot AI balanced review requested due to automatic review settings October 6, 2026 17:15

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟢 Approval recommended

The focused changes correctly remove the CRAN-only behavior and its associated configuration.

Review effort: Balanced
Findings: None

What changed in this PR

Removes CRAN-specific checks from the reusable Bioconductor validation workflow.

Changes:

  • Drops --as-cran from rcmdcheck.
  • Removes the now-unnecessary CRAN incoming-check environment override.
File Description
.github/​workflows/​bioccheck.yml Aligns package checks with Bioconductor policy.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@lwaldron
lwaldron merged commit 5794bc5 into main Oct 6, 2026
3 checks passed
@lwaldron
lwaldron deleted the drop-as-cran branch October 6, 2026 17:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants