Description
> library(devtools); devtools::document(pkg="./pkg", roclets=c("rd")) Loading required package: usethis Error: Could not find package root, is your working directory inside a package?
Seems like in some environments it fails as above.
https://stackoverflow.com/questions/52670051/how-to-troubleshoot-error-could-not-find-package-root
https://groups.google.com/forum/#!topic/rdevtools/79jjjdc_wjg