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

Use mockery package to mock tests #254

Closed
andrie opened this issue Oct 18, 2017 · 0 comments
Closed

Use mockery package to mock tests #254

andrie opened this issue Oct 18, 2017 · 0 comments
Assignees
Labels
Milestone

Comments

@andrie
Copy link
Contributor

andrie commented Oct 18, 2017

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/mockery

@andrie andrie self-assigned this Oct 18, 2017
@andrie andrie added the testing label Oct 18, 2017
@andrie andrie added this to the v0.4.2 milestone Oct 18, 2017
andrie added a commit that referenced this issue Oct 18, 2017
andrie added a commit that referenced this issue Nov 17, 2017
…s a workaround for the new testthat package. #254

Rebuild vignettes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants