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

Suggestion: Add-in to run examples #2358

Closed
pbreheny opened this issue Jun 15, 2021 · 1 comment
Closed

Suggestion: Add-in to run examples #2358

pbreheny opened this issue Jun 15, 2021 · 1 comment
Labels
feature a feature request or enhancement

Comments

@pbreheny
Copy link
Contributor

pbreheny commented Jun 15, 2021

Just a suggestion, but I think it would be nice to offer an Rstudio add-in that allows the user to check all examples for a package with a keyboard shortcut. In other words, add this block to inst/rstudio/addins.dcf:

Name: Run examples
Description: Runs R code in examples using `devtools::run_examples()`
Binding: run_examples
Interactive: true
@pbreheny pbreheny added the feature a feature request or enhancement label Jun 15, 2021
@jimhester
Copy link
Member

Sure, do you want to create a pull request to add this?

It would basically be what you have above plus a note in NEWS.md mentioning the new add-in

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature a feature request or enhancement
Projects
None yet
Development

No branches or pull requests

3 participants