I am trying to install devtools in R (R version=3.5.3, OS= Ubuntu 18.04.2 LTS) by using following commands,
install.packages("devtools") install.packages("devtools") devtools::install_github("r-lib/devtools")
Its getting downloaded but shows error like this,
> ERROR: dependencies ‘httr’, ‘usethis’ are not available for package ‘devtools’ * removing ‘/home/ga/R/x86_64-pc-linux-gnu-library/3.5/devtools’ Warning in install.packages : installation of package ‘devtools’ had non-zero exit status > The downloaded source packages are in ‘/tmp/RtmpP6MtMf/downloaded_packages’
when I try to call the package as follows,
library(devtools) > Error in library(devtools) : there is no package called ‘devtools’
Therefore, please help me to fix this issue.