The devtools
package has a function that can install archived versions. Try:
library("devtools")
install_version("rlandscape",version="1.0",
repos="http://cran.r-project.org")
(You should be able to use repos=getOption("repos")["CRAN"]
instead, but it looks like your repos
option is slightly messed up, i.e. the URL is missing the http://
.)
(The repos
argument is necessary to work around what I think is a glitch in install_version
, i.e. it assumes that repos
is a length-1 character vector.)
This should, I think, also automatically install appropriate dependencies -- although it's a bit of a catch-22 if they are in the CRANextra repository for Windows, since that has to be suppressed in order to get install_version
to work ...
It may also be the case that install_version
automatically assumes that you want the package and all dependencies installed as source (not binary) installations, in which case you will need to have compilation tools installed. The rlandscape
package doesn't actually have any compiled code included, but its dependencies do ...