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(): add option to not run \donttest{} blocks #118

Closed
wch opened this issue Jul 19, 2012 · 1 comment
Closed

run_examples(): add option to not run \donttest{} blocks #118

wch opened this issue Jul 19, 2012 · 1 comment

Comments

@wch
Copy link
Member

@wch wch commented Jul 19, 2012

According to the Writing R Extensions document, examples in \donttest{} are run when you run examples(), but not when you run R CMD check

It would be good to at least have an option for run_examples() to behave like R CMD check, and ignore those blocks.

@hadley
Copy link
Member

@hadley hadley commented Aug 10, 2012

This will not be trivial - we'll need to replicate the parsing currently in tools:::Rd2ex

@hadley hadley closed this in 3afa697 Aug 22, 2012
@lock lock bot locked and limited conversation to collaborators Sep 19, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants