Skip to content

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

Description

@vankesteren

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.

Reprex:

devtools::install_version("lavaan", "0.6-3", type = "binary")
#> Downloading package from url: https://cran.rstudio.com/bin/windows/contrib/3.5/lavaan_0.6-3.tar.gz
#> Error in utils::download.file(url, path, method = download_method(), quiet = quiet, : cannot open URL 'https://cran.rstudio.com/bin/windows/contrib/3.5/lavaan_0.6-3.tar.gz'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions