I tried installing rtweet()
in R but it shows the following error:
Error: package or namespace load failed for ‘rtweet’ in loadNamespace(j <- imp[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]): there is no package called ‘Rcpp’
As Russ said, you should try to install Rcpp
before:
install.packages("Rcpp")
Or you could use the line:
install.packages("rtweet", dependencies = TRUE)
It will install rtweet
and all dependencies like Rcpp
You could also, try to install it directly from URL:
install.packages("https://cran.r-project.org/web/packages/rtweet/index.html")
And if still fails, go directly to issues from rtweet (https://github.com/mkearney/rtweet/issues) ;-)
And also be careful, because R packages are case-sensitive!
Have a nice day!
Rcpp
and post the error that returns, please – Russ Hyde