devtools dependency error when removed code example
Example: error installing devtools r
ERROR: dependency ‘httr’ is not available for package ‘pkgdown’
* removing ‘/usr/local/lib/R/site-library/pkgdown’
ERROR: dependencies ‘usethis’, ‘covr’, ‘httr’, ‘rversions’ are not available for package ‘devtools’
* removing ‘/usr/local/lib/R/site-library/devtools’
# Solution
sudo apt install build-essential libcurl4-gnutls-dev libxml2-dev libssl-dev