Skip to content

Conversation

@mikldk
Copy link
Contributor

@mikldk mikldk commented Feb 13, 2020

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 the DESCRIPTION file as desired when using roxygen2 extensions 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.

@jimhester
Copy link
Member

Thanks!

@jimhester jimhester merged commit 919b3f4 into r-lib:master Feb 14, 2020
sthagen added a commit to sthagen/r-lib-devtools that referenced this pull request Feb 14, 2020
Adding addin for document(). (r-lib#2188)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants