Entering edit mode
@nathanwatsonhaigh-9830
Last seen 9.7 years ago
I'd like to get an up-to-date list of all the bioconductor packages together with their version number for a particular BioC version.
I know all_group() will return the list of package names, but I also need the versions. Where can I get these from?
Cheers,
Nathan

Is there a solution which doesn't first require installing everything? Will this only return BioC packages or also those installed via CRAN?
See https://bioconductor.org/packages/3.3/bioc/src/contrib/PACKAGES . Substitute your bioconductor version of interest for 3.3.
You can read this within R with the
read.dcf()function. Of course, for current release and devel versions, package versions can change over time.Thanks for this information. Please consider moving it from a comment to an answer.
Specify the appropriate '
repos' argument toavailable.packages(). The appropriate url is from BiocInstaller::biocinstallRepos(), for instance> biocVersion() [1] '3.2' > biocinstallRepos() BioCsoft "https://bioconductor.org/packages/3.2/bioc" BioCann "https://bioconductor.org/packages/3.2/data/annotation" BioCexp "https://bioconductor.org/packages/3.2/data/experiment" BioCextra "https://bioconductor.org/packages/3.2/extra" CRAN "https://cran.rstudio.com" > nrow(available.packages(contriburl=contrib.url(biocinstallRepos()[1:4]))) [1] 2264 > nrow(available.packages(contriburl=contrib.url(biocinstallRepos()))) [1] 10259Thanks for this information. Please consider moving it from a comment to an answer.