I am trying to install the BTYplus package in R.
devtools::install_github("mplatzer/BTYDplus", dependencies=TRUE)
library(BTYDplus)
demo(package="BTYDplus")
But it gives me the following error:
Downloading github repo mplatzer/BTYDplus@master Error in curl::curl_fetch_memory(url, handle = handle) : Couldn't connect to server
Did anyone had a similar issue when installing packages on R?
You can download the library externally and then import it to R: Download from: https://github.com/mplatzer/BTYDplus import from: Tools > Install Packages/ Package Archive File(.zip; .tar.gz)
Setting the proxy did work for me. Here is how I have done that:
library(httr)
set_config(use_proxy(url='http://my.proxy', port, username, password))
(and fill in your own url, port, username and password. Username and password were not necessary for me)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With