You want to use the devtools package. Suposse that you have run the following commands:

> install.packages("devtools", dependencies = TRUE)
...
> library(devtools)
Error in library(devtools) : there is no package 
called ‘devtools’

The 'devtools' package was not installed!


Solution: I installed libcurl4-gnutls-dev and the 
problem was solved.

In your shell:

apt-get -y build-dep libcurl4-gnutls-dev
apt-get -y install libcurl4-gnutls-dev