Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding addin for document(). #2188

Merged
merged 1 commit into from
Feb 14, 2020
Merged

Adding addin for document(). #2188

merged 1 commit into from
Feb 14, 2020

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