-
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
Option to restrict BiocManager::available() to Bioconductor packages #120
Comments
I think you want to use Also, it might be useful to point out the
I guess the approach to finding Bioconductor packages would be
But back to the feature request, does a 'Bioconductor' package include just the software packages, or software + annotation + experiment? If there is some desire to allow selection, I'd be concerned about how a 'naive' user would know how to identify the repositories they are interested in obtaining information about (and whether that's any easier than using |
Actually, I appreciate the point you make about Back to the feature request, for me, 'Bioconductor' is anything from the BioC repositories:
I didn't really think of it, and I guess that could be open for discussion, but this just makes sense to me. I'm not sure how 'naive' I would expect users to be if they query and navigate packages programmatically from the console. Entirely 'naive' users would probably use the biocViews page first, or more likely Google, and word-of-mouth from colleague, supervisors, etc.
But reaching that point in this discussion, and bearing in mind that this whole discussion is prompted by my effort to write an introduction to Bioconductor for 'naive' users, I guess my feature request is not so much about the lesson anymore as my own naive expectations when using PS: I did see the trick about PS2: as a relatively experienced programmer, I appreciate to learn about the |
I've taken on board the feedback to update the episode here: https://carpentries-incubator.github.io/bioc-project/03-installing-bioconductor/index.html It is currently recompiling, so make sure to give it a few minutes. I kept it rather simple, as the lesson is meant to reflect the current state of the project rather than motivate any change to it. Namely
Great suggestion. Done.
Great suggestion. I've added an example to point out the
I've left that one out, at least for the time being. As I mentioned above, this lesson is meant for 'naive' users, and considering that I've never explored the package repository that way myself, I don't think it is something that is worth including in the lesson. That said, this is a lesson in development, and I am more than happy to get any feedback to improve it. |
Hi Kevin, This looks like a good resource. Perhaps you would like to mention the intent of the Note. There's a minor typo in the key points ( Best regards, |
Thanks for the additional feedback and suggestion. It's all work in progress and an exercise of balance between 1) combining the many bits of information that already exist in the various help pages, vignettes, etc. and 2) not going into excessive and overwhelming details that would otherwise sidetrack from the key points of each episode. A "going further" section could be a good place to store this indeed. The proof will be in the pudding when the lesson will actually be delivered to participants: what is essential, what is extra, what is overkill. I can't wait to see how the complete lesson will look in the end. I've got a vision to some extent, but it sort of evolves as I write individual episodes and figure out how to make it all flow nicely. Thanks ! |
I've updated the documentation to make this a bit more clear. 733a58a |
Right now,
BiocManager::available()
returns 21,757 package names to me, including CRAN.I have
Would it make then to at least add an option to restrict the those package names to only those available from Bioonductor repositories?
Alternatively, could the function return a data.frame with a column for package name and another one for the repository where that package is available from?
Context
I wanted to illustrate
BiocManager::available()
in the bioc-project Carpentries lesson (in development) to showcase one way of listing of packages available from Bioconductor.However, it feels confusing if the function also includes any package available from a repository listed in
getOption("repos")
.I can see why
BiocManager::available()
would - by default - list all the packages that it could potentially install. I just think that it would be nice to also flag/highlight/filter those that are from Bioconductor from those that would come from other repositories.The text was updated successfully, but these errors were encountered: