Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

install_version() binary on windows looks for .tar.gz but needs .zip #323

vankesteren opened this issue Dec 19, 2018 · 1 comment


Copy link

vankesteren commented Dec 19, 2018

install_version() with argument type = "binary" correctly tries to download the compressed folder from the bin directory on cran, but on windows it tries to look for a .tar.gz archive where it should be looking for a .zip.


devtools::install_version("lavaan", "0.6-3", type = "binary")
#> Downloading package from url:
#> Error in utils::download.file(url, path, method = download_method(), quiet = quiet, : cannot open URL ''
Copy link

jimhester commented Mar 27, 2019

Actually install_version() cannot install binaries on any operating system, because CRAN only stores binaries for the latest version of a package.

A possible improvement would be a better error message however.

@jimhester jimhester transferred this issue from r-lib/devtools Mar 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
None yet

No branches or pull requests

2 participants