I wish to use the devtools package. I\'ve run the following commands:
devtools
> install.packages(\"devtools\", dependencies = TRUE) .... > library
I hit this issue with Ubuntu 18.04 and none of the previous answers solved it. Eventually I succeeded by installing devtools with the package manager itself:
sudo apt install r-cran-devtools