When I click "Build & Reload" on the Build tab within RStudio, I get the following error:
==> devtools::document(roclets=c('rd', 'collate', 'namespace'))
Error in loadNamespace(name) : there is no package called 'devtools'
Calls: suppressPackageStartupMessages ... tryCatch -> tryCatchList -> tryCatchOne -> <Anonymous>
Execution halted
Exited with status 1.
But when I just enter devtools::document(roclets=c('rd', 'collate', 'namespace'))
directly into the console, it works.
In addition, if I uncheck "Build & Reload" under "Automatically roxygenize when running:" in the Build Tools -> Roxygen config, the error disappears.
I've installed the latest devtools
with devtools::install_github("hadley/devtools")
. I'm using Windows.
If anyone has an suggestions, thank you in advance!
Build.com, Inc. operates as an online home improvement retailer in the United States. Its online stores specialize in plumbing, lighting, door hardware, and furniture, as well as heating, ventilation, air conditioning, and cooling equipment.
Build.com is an online home improvement retailer and subsidiary of Ferguson plc. It sells bathroom, kitchen and lighting hardware, appliances and other supplies. The company is headquartered in Chico, California, United States.
Build.com is a subsidiary of Ferguson PLC, which is why you will see the Ferguson name both on the build.com website and the build.com credit card.
I had to uncheck "Build & Reload" under "Automatically reoxygenize when running:" in the Build Tools -> Roxygen Configure menu. Installing devtools in the program files/r/3.2.3/lib helped, but it still wanted all the dependencies there as well. Using packrat didn't seem to help either..
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