I have recently made the move from Windows to Ubuntu (actually for the 2nd time, but I think this time it is for real!), and I have managed to install R and RStudio.
When, in RStudio, I run the line
install.packages("devtools")
I get a whole bunch of errors, including
ERROR: dependencies ‘httr’, ‘git2r’ are not available for package ‘devtools’
* removing ‘/home/travis/R/x86_64-pc-linux-gnu-library/3.4/devtools’
When I install packages in Windows as above, it always installs all dependencies at the same time.
How do I fix this and what is going on here?