Skip to content

Bioc build failure - #43

Merged
maddygriz merged 1 commit into
devfrom
bioc_build_fail
Sep 2, 2026
Merged

Bioc build failure #43
maddygriz merged 1 commit into
devfrom
bioc_build_fail

Conversation

@maddygriz

@maddygriz maddygriz commented Sep 2, 2026

Copy link
Copy Markdown
Collaborator

This PR fixes a package build failure caused by the transform S4 method for NanoStringRccSet using _data as its first formal argument.

BiocGenerics defines transform with an S4 dispatch signature based on x. During namespace loading, the mismatched method definition triggered conformMethod() and prevented NanoStringNCTools from being installed.

The method now:

  • Uses x as its first formal argument.
  • Updates all internal references from _data to x.
  • Preserves the existing transformation behavior, including assay-data updates, locked environment handling, preprocessing metadata, and returning the modified object.

https://bioconductor.org/checkResults/devel/bioc-LATEST/NanoStringNCTools/nebbiolo2-install.html

image

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.

🟢 Approval recommended

The focused change resolves the S4 signature mismatch while preserving existing behavior.

Pull request overview

Fixes Bioconductor package loading by aligning the transform S4 method with its generic.

Changes:

  • Renames the method’s first argument to x and updates references.
  • Advances the package version to 1.21.1.
File summaries
File Description
R/NanoStringRccSet-utils.R Corrects the transform method signature.
DESCRIPTION Updates the package version.
Review details
  • Files reviewed: 2/2 changed files
  • Comments generated: 0
  • Review effort level: Balanced

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

@piazze2 piazze2 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Looks perfect, approved!

@maddygriz
maddygriz merged commit 2ff510a into dev Sep 2, 2026
1 check passed
@maddygriz
maddygriz deleted the bioc_build_fail branch September 2, 2026 21:27
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.

3 participants