valentinitnelav / bootstrapnet

R package for bootstrapping indices of bipartite ecological networks
https://valentinitnelav.github.io/bootstrapnet/
MIT License
5 stars 2 forks source link

Installation error - Unsupported proxy ... libcurl is built without the HTTPS-proxy support #29

Closed valentinitnelav closed 4 years ago

valentinitnelav commented 4 years ago

When I tried to install the package on a Windows terminal server of our university, I get this:

devtools::install_github("valentinitnelav/bootstrapnet")
## Error: Failed to install 'unknown package' from GitHub:
##   Unsupported proxy 'https://proxy.bla-bla', libcurl is built without the HTTPS-proxy support.

Note that in the error message above, the bla-bla in the URL will be different from case to case.

Note also that the same error is given also by remotes::install_github

remotes::install_github("valentinitnelav/bootstrapnet")
valentinitnelav commented 4 years ago

One solution is to use remotes::install_url:

remotes::install_url("https://github.com/valentinitnelav/bootstrapnet/archive/HEAD.zip")

If you don't have remotes package installed, then run first:

install.packages('remotes')

For another solution, but involves downloading the package manually, check this Stack Overflow solution to this question: Solution. How to install_github when there is a proxy