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

CRAN will run examples marked with \donttest #209

Closed
ateucher opened this issue Jun 3, 2020 · 4 comments
Closed

CRAN will run examples marked with \donttest #209

ateucher opened this issue Jun 3, 2020 · 4 comments
Labels
CRAN wontfix This will not be worked on

Comments

@ateucher
Copy link
Collaborator

ateucher commented Jun 3, 2020

From the 4.0 release notes ("UTILITIES" section):

R CMD check --as-cran now runs \donttest examples (which are run by example()) instead of 
instructing the tester to do so. This can be temporarily circumvented during development by 
setting environment variable _R_CHECK_DONTTEST_EXAMPLES_ to a false value.
@ateucher
Copy link
Collaborator Author

ateucher commented Jun 3, 2020

This could bite us (and I'm surprised it hasn't already).

@ateucher ateucher added the CRAN label Jun 3, 2020
@boshek
Copy link
Collaborator

boshek commented Jun 3, 2020

Is this a case for the roxygen pre-compiled examples?

@ateucher ateucher added the wontfix This will not be worked on label Jun 4, 2020
@ateucher
Copy link
Collaborator Author

ateucher commented Jun 4, 2020

I think we should wait and see if this becomes an issue

@ateucher
Copy link
Collaborator Author

Fixed by #229

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CRAN wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants