-
Notifications
You must be signed in to change notification settings - Fork 763
Closed
Description
devtools::install_version apparently tries to download already installed packages from the "CRANextra" repo, which can cause the installation to fail for no good reason.
My getOption('repos') is
CRAN CRANextra
"https://cran.rstudio.com/" "http://www.stats.ox.ac.uk/pub/RWin"
and when I try devtools::install_version('data.table', '1.9.4'), the very end of the
installation fails with
...
** testing if installed package can be loaded
*** arch - i386
*** arch - x64
* DONE (data.table)
Downloading package from url: http://www.stats.ox.ac.uk/pub/RWin/src/contrib/Archive/data.table/data.table_1.9.4.tar.gz
Error in download(bundle, x$url, x$config) :
client error: (404) Not Found
even though the package was installed succesfully (library(data.table) succeeds).
If I remove "CRANextra" from repos, with, e.g.,
devtools::install_version('data.table', '1.9.4', repos='https://cran.rstudio.com/')
the installation succeeds.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels