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

run_examples() attempts to run code inside of \dontrun{} block #1990

Closed
mjsteinbaugh opened this issue Feb 15, 2019 · 3 comments
Closed

run_examples() attempts to run code inside of \dontrun{} block #1990

mjsteinbaugh opened this issue Feb 15, 2019 · 3 comments

Comments

@mjsteinbaugh
Copy link

The current version of devtools attempts to run code inside of \dontrun{} for working examples when calling run_examples(). Is there a way to disable this behavior? It appears that this was brought up in issue #118 but I'm a bit confused as to how this was resolved.

@jimhester
Copy link
Member

devtools::run_examples(run = FALSE) should do it.

@mjsteinbaugh
Copy link
Author

Nice. Thanks @jimhester

@lock
Copy link

lock bot commented Aug 14, 2019

This old issue has been automatically locked. If you believe you have found a related problem, please file a new issue (with reprex) and link to this issue. https://reprex.tidyverse.org/

@lock lock bot locked and limited conversation to collaborators Aug 14, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants