Entering edit mode
@nathanwatsonhaigh-9830
Last seen 8.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 instanceThanks for this information. Please consider moving it from a comment to an answer.