Skip to content

Cannot download from behind proxy #735

@Luke-Symes-Tsy

Description

@Luke-Symes-Tsy

My Windows computer, with R 4.4.2, uses a proxy to access the internet.

Using options(download.file.method = "wininet"), I can successfully run install.packages("zip"). However, running pak::pkg_install("zip") fails with:

Error: 
! error in pak subprocess
Caused by error in `download.file(url, tmp, quiet = TRUE)`:
! cannot open URL 'http://bioconductor.org/config.yaml'

For example:
image

It seems like pak is not recognising the download.file.method option? I am using pak 0.8.0 from CRAN.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugan unexpected problem or unintended behavior

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions