-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pak::pkg_install not downloading from Github when behind a proxy unlike remotes::install_github #620
Comments
Are you on Windows? Unfortunately libcurl is not so great with proxies. Base R (i.e. remotes) can use native Windows HTTP APIs, which work seamlessly with proxies. If you are on Windows, what is the output of this?
|
Work - Linux (CentOS7.9) and Mac (Ventura - 13.6.6) |
Using wget doesn't work either - this is on Linux behind the proxy
|
callr is passing environment variables (HTTP_PROXY, HTTPS_PROXY, NO_PROXY, etc) to the subprocess, no? |
Not actively, no. But environment variables are inherited in general. |
I'm trying to execute
pak::pkg_install("satijalab/seurat-object@visium-hd")
At work, I'm behind a proxy and this fails to download the zip.
On my personal laptop, this works - no proxy.
At work, the following works however -
remotes::install_github("satijalab/seurat-object", ref="visium-hd")
So there is something related to proxies and how remotes downloads vs pak.
Running curl from behind the proxy, I need to specify
-L
to follow redirects as the initial request made returns a 302.Let me know what you might need in terms of logs / output.
I figure knowing that remotes works and pak doesn't in the same situation will be be helpful.
The text was updated successfully, but these errors were encountered: