-
Notifications
You must be signed in to change notification settings - Fork 89
Open
Description
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.methodto becurl, and sets some curl options. - Packrat, with
devtoolsandhttrinstalled, uses its internal GitHub downloader which uses httr. - The internal downloader doesn't configure httr's proxy settings based on
http_proxyandhttps_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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels