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

Running snapshot_review() of a package checked with devtools::check() ? #133

Open
Qile0317 opened this issue May 14, 2023 · 0 comments
Open

Comments

@Qile0317
Copy link

Qile0317 commented May 14, 2023

For the dev branch of my package, on my device locally, running devtools::test() works, but devtools::check() fails for a very specific case to do with a plotting function tested by vdiffr. I've read the Usual Suspects for specific failure modes issue and still don't know the problem, as another function which uses this tested function does pass the test, so its probably some hidden, obscure bug?

Regardless, the output from devtools::check states to Run testthat::snapshot_review('plot_API/') to review changes` but I can't access the temporary environment. Is there a way to do so?

The most peculiar thing is that if I run devtools::build(), and then run rcmdcheck::rcmdcheck() on the built tarball, the check passes.

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

No branches or pull requests

1 participant