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

Add tests for graphical output #38

Open
mahendra-mariadassou opened this issue Mar 7, 2019 · 1 comment
Open

Add tests for graphical output #38

mahendra-mariadassou opened this issue Mar 7, 2019 · 1 comment

Comments

@mahendra-mariadassou
Copy link
Collaborator

Use vdiffr to add tests for graphical output. Seems to work nicely with base graphics and ggplot but less so with grobs.

@mahendra-mariadassou mahendra-mariadassou changed the title Add test for graphical output Add tests for graphical output Mar 7, 2019
@mahendra-mariadassou mahendra-mariadassou self-assigned this Mar 7, 2019
@mahendra-mariadassou
Copy link
Collaborator Author

For grobs, vdffir::expect_doppelganger returns a success when run via devtools::test_file() in the console but a failure when run via the Run Tests button or via R CMD CHECK...

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

No branches or pull requests

1 participant