document() runs test helpers #1669
Closed
Comments
The fix is actually very easy: |
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/ |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Every time
devtools::document()
is run, test helpers are run as well.I put together a small package to illustrate the issue, located at nbenn/roxythat. This was the best kind of reproducible example I could come up with. Sorry for the hassle.
This might not be a bug. However I have a situation at hand where I only want the helper files to be run before tests. If this is not how test helpers are supposed to be used, I can figure something else out.
The text was updated successfully, but these errors were encountered: