Reputation: 5958
I'd like to install the package reticulate 1.16, but cannot build from source as I am in a containerized environment over which I have no control. I was able to locate the source tar.gz files on CRAN as said here
install.packages(cranurl, repos=NULL, type="source")
however is there a way to install packages not from source, like what install.packages
does for current versions?
I would be after something using only install.packages
Cheers
Upvotes: 0
Views: 247
Reputation: 1204
You can use devtools to install older versions of packages from CRAN. It's explained here.
You would use
require(devtools)
install_version("reticulate", version = "1.16")
Alternatively, using the CRAN URL for a specific version you can do.
install.packages('https://cran.r-project.org/src/contrib/Archive/reticulate/reticulate_1.16.tar.gz', repo=NULL, type='source')
Upvotes: 1