Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upAdding addin for document(). #2188
Conversation
|
Thanks! |
Adding addin for document(). (r-lib#2188)
Rstudio can be used to document a package with a keyboard shortcut (CTRL/CMD+ALT+D) and a few settings under Project Options -> Build Tools -> Generate documentation with Roxygen. Unfortunately it is not possible to get it to run
devtools::document()without any arguments which is useful as it uses the settings (roclets) given in theDESCRIPTIONfile as desired when usingroxygen2extensions as e.g. https://github.com/mikldk/roxytest.One solution would be to get this functionality directly in Rstudio, but that seems to be difficult: rstudio/rstudio#5201.
This simple addin would be a simple way to achieve the same.