We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This is necessary because devtools::with_mock() is deprecated, since it doesn't work as expected with JIT compiled code in the base package (https://github.com/r-lib/testthat/blob/master/NEWS.md#testthat-1029000).
devtools::with_mock()
The recommended solution is to use mockery: https://github.com/n-s-f/mockery
mockery
The text was updated successfully, but these errors were encountered:
Use mockery::stub to mock tests #254
f714257
Add package cli as a Suggests, and load explicitly in tests. This i…
cli
615803d
…s a workaround for the new testthat package. #254 Rebuild vignettes.
andrie
No branches or pull requests
This is necessary because
devtools::with_mock()
is deprecated, since it doesn't work as expected with JIT compiled code in the base package (https://github.com/r-lib/testthat/blob/master/NEWS.md#testthat-1029000).The recommended solution is to use
mockery
: https://github.com/n-s-f/mockeryThe text was updated successfully, but these errors were encountered: