The current version of the package I would like to use is failing on bioconductor. Yet, the old version used to work.
I am wondering how one can install a specific version of a bioconductor package?
Thanks in advance.
In my case, the package is called biomaRt and the failing version is 2.34.2 while 2.34.0 is successful.
To install a specific version of a package, we need to install a package called “remotes” and then load it from the library. Afterwards we can use install_version() by specifying the package name and version needed as shown below.
Remember, you can check the Bioconductor version using the function biocVersion() from the BiocInstaller package.
The current release of Bioconductor is version 3.15; it works with R version 4.2.
Bioconductor stores the package archives here: https://bioconductor.org/packages/3.6/bioc/src/contrib/Archive/
1) Locate and download the version you would like to install.
2) Install it using R CMD INSTALL yourpackage_version_x.y.z.tar.gz as
suggested by Eugène Adell in the comments.
If you cannot find the specific version on the bioconductor archive, then try to find it on the github repository of the package.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With