-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
design is not imported into package namespace #17
Comments
Thanks for the bug report. This was a simple mistake on my end that led to #15. Because I have now initialized I can push this as a patch to the Bioconductor release once you confirm it works. @kelshmo, can you confirm that this addresses #14 and #15? Gabriel |
Confirmed that that fixes the error 👍 |
Yes - error resolved! |
…n until bioc update
…ge load within dreamMixedModel GabrielHoffman/variancePartition#17
This has previously come up in #15 and #14, however I think it is not resolved.
voomWithDreamWeights
throws an error if it's called usingvariancePartition::voomWithDreamWeights()
and variancePartition hasn't been loaded/attached to the search path. See the following reprex:Created on 2020-07-21 by the reprex package (v0.3.0)
Session info
The first call fails at this line.
design
isn't defined anywhere in the function. After callinglibrary("variancePartition")
, BiocGenerics gets loaded and attached as well, and since it exportsdesign
, the code works.If the
design
function from BiocGenerics is what's meant to be referenced here, this issue should be fixable by either replacingdesign
withBiocGenerics::design
at that line or adding this roxygen comment#' @importFrom BiocGenerics design
. Though then I'm not sure then why the code tests ifdesign
isNULL
, if it's a function from another package.The text was updated successfully, but these errors were encountered: