8000 Internal GitHub downloader doesn't configure proxy · Issue #624 · rstudio/packrat · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Internal GitHub downloader doesn't configure proxy #624
Open
@mmarchetti

Description

@mmarchetti

We saw this issue in a Connect customer environment.

They have a proxy for internet access. http_proxy and https_proxy environment variables are set when packrat is invoked. Packrat has no trouble installing packages from CRAN.

What we saw is:

  • Connect configures download.file.method to be curl, and sets some curl options.
  • Packrat, with devtools and httr installed, uses its internal GitHub downloader which uses httr.
  • The internal downloader doesn't configure httr's proxy settings based on http_proxy and https_proxy.
  • Consequently, package downloads from GitHub failed.

Some ideas for fixes include always using the configured downloader, or configuring httr's proxy settings based on the standard proxy environment variables.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0