I'm looking at install.packages
and I don't see any option to specify a particular version. Is there a way? I was hoping to find something like install.packages(c('xts'),version='0.9.3')
I found this answer: https://stackoverflow.com/a/12679452/841830 However, after installing devtools, I did:
library(devtools)
install_version('xts','0.9.3')
It gave this error message:
Error in url(sprintf("%s/src/contrib/Archive.rds", repos), "rb") :
cannot open the connection
In addition: Warning message:
In url(sprintf("%s/src/contrib/Archive.rds", repos), "rb") :
cannot open: HTTP status was '404 Not Found'
3: url(sprintf("%s/src/contrib/Archive.rds", repos), "rb")
2: gzcon(url(sprintf("%s/src/contrib/Archive.rds", repos), "rb"))
1: install_version("xts", "0.9.3")
(Using "0.9-3", hyphen instead of dot, gives same error.)
Background: I have a regression in an xts rollapply function call, since upgrading from 0.9.3 to 0.9.4. However when I looked in the online svn repository, there appears to have been no change since I know it last worked. So I want to install 0.9.3 (and then 0.9.2, etc.) to confirm exactly when the problem was introduced.