I am trying to get the devtools
to work on RStudio. I installed the package using:
install.packages("devtools")
when I run
library(devtools)
I get the error:
Loading required package: usethis
Error: package or namespace load failed for ‘usethis’ in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]):
there is no package called ‘fs’
Error: package ‘usethis’ could not be loaded
so I try to install fs
using install.packages('fs')
yet when I run library(fs)
I get error of Error in library(fs) : there is no package called ‘fs’
furthermore I installed usethis
yet I guess that depends on fs
because when I run it I get:
Error: package or namespace load failed for ‘usethis’ in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]):
there is no package called ‘fs’
I wonder how to resolve this?
I think you need the Rcpp package dependency. Install it with:
install.packages("Rcpp", dependencies = TRUE)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With