-
Notifications
You must be signed in to change notification settings - Fork 24
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
Why is BiocManager emitting messages on package load? #94
Comments
I just noticed that too earlier today after doing As a general rule I don't think |
Any insights, Martin? @mtmorgan Thanks! |
The banner can be useful in bug reports, and the 'best practice' recommendation for use (e.g., I'm not sure why a package would import BiocManager: package installation shouldn't be something a package attempts to 'do' for the user. |
BiocStyle imports BiocManager to get |
Maybe best practice should be to explicitly |
I chose not to emphasize using library() because I wanted commands that the user sees to be fully resolved and therefore not subject to namespace collisions -- the natural interpretation of I will revisit this so that |
You could condition the message based on how the package was loaded by looking at |
Thanks @HenrikBengtsson; I shy away from that level of complexity. |
The change in 1fed528 is causing emission of annoying messages in all packages that
Import
BiocManager. For example, BiocStyle imports BiocManager, and this is causing all my vignettes and reports generated in an interactive session to contain this message:in every location where I have
library(BiocStyle)
. I didn't bother tosuppressPackageStartupMessages()
because BiocStyle was not emitting any messages previously. One could argue that I should suppress these messages, but then I would say that I shouldn't have to see this message in the first place, especially if I'm not using BiocManager directly. Why the chattiness?The text was updated successfully, but these errors were encountered: