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

Set TESTTHAT_PKG in test_active_file() #2470

Closed
hadley opened this issue Sep 20, 2022 · 0 comments · Fixed by #2471
Closed

Set TESTTHAT_PKG in test_active_file() #2470

hadley opened this issue Sep 20, 2022 · 0 comments · Fixed by #2471

Comments

@hadley
Copy link
Member

hadley commented Sep 20, 2022

Or otherwise figure out how to pass the current package to testthat so it can do it.

hadley added a commit that referenced this issue Sep 20, 2022
And update tests so they actually fail if not set correctly

Fixes #2470
hadley added a commit that referenced this issue Sep 21, 2022
* Set package in `test_active_file()`, and update tests so they actually fail if not set correctly. Fixes #2470

* Re-load testthat outside of testthat so that devtools works with testthat once more.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant