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.method
to becurl
, and sets some curl options. - Packrat, with
devtools
andhttr
installed, uses its internal GitHub downloader which uses httr. - The internal downloader doesn't configure httr's proxy settings based on
http_proxy
andhttps_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
Labels
No labels