I\'m trying to install a package via devtools::install_github
for the first time
l@np350v5c:~$ R --vanilla
> library(devtools)
Attaching pac
Actually, I had the same issue and after installing RCurl it worked.
In order to install RCurl in ubuntu, write the following in your terminal:
sudo apt-get install libcurl4-openssl-dev
Then in R:
install.packages('RCurl')
And that's it!
If you can't install the appropriate version of libcurl, you can try using the "install_git" function instead of "install_github". For example,
library(devtools)
install_git("https://github.com/hadley/devtools.git")
That worked for me.
Sorry, this was a bug in the r-cran-rcurl
package in Debian. We eventually corrected it in the Debian distribution unstable
, testing
, and more recently stable
(Jessie 8.2). In Ubuntu it is fixed in wily
. Sorry for the problem, and thanks for using Debian or its derivatives !