> devtools::install_github("jalvesaq/colorout", host = "https://api.github.com")
Using github PAT from envvar GITHUB_PAT
错误: Failed to install 'unknown package' from GitHub:
Timeout was reached: [api.github.com] Resolving timed out after 10000 milliseconds
Relevant Post 2
Relevant Post 3
I had the same issue on windows behind corp proxy.
Resolved by setting the http_proxy and https_proxy environment variables.
Could you please explain what did you do in detail?
On Linux you would just put export http_proxy=xyz and export https_proxy=xyz (all lowercase) in yor shell startup file like your .bashrc and then source ~/.bashrc from your shell (there is no need for this step to be repeated as it will be automatically sourced on login.
Using github PAT from envvar GITHUB_PAT
错误: Failed to install 'unknown package' from GitHub:
Timeout was reached: [api.github.com] Resolving timed out after 10000 milliseconds
Tried to subscribe Ivacy VPN as below to set the proxy but doesn't work... Somebody tune it?