Sorry for duplicate post. I saw similar type of problem here Problems installing the devtools package . But I couldn't able to resolve my issue using the solution mentioned here. So created a new thread
I have installed devtools in my R studio, version 1.2.1335 running on Windows 10,using
install.packages('devtools')
Then I ran following command
devtools::install_github("twitter/AnomalyDetection")
But I'm getting error message
Error in loadNamespace(name) : there is no package called ‘devtools’
I tried to install libcurl4-gnutls-dev to resolve the issue, as mentioned in referred stackoverflow post, using following command
install.packages('libcurl4-gnutls-dev')
But got the error message
package ‘libcurl4-gnutls-dev’ is not available (for R version 3.5.1)
Also I tried to run following command in my command prompt
apt-get -y build-dep libcurl4-gnutls-dev
apt-get -y install libcurl4-gnutls-dev
But got the error message
'apt-get' is not recognized as internal or external command
Can you suggest me how to solve this issue?