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.
For the dev branch of my package, on my device locally, running
devtools::test()
works, butdevtools::check()
fails for a very specific case to do with a plotting function tested byvdiffr
. 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 toRun 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 runrcmdcheck::rcmdcheck()
on the built tarball, the check passes.