You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I got some an issue when I try to check my package using devtools::check.
This command do unit tests where a check for a plot function is done.
Unfortunately, this test systematically fails considering that plots diverge with the saved one.
When I check with other methods there is no issue.
After some tests, it seems that the line that produce errors is the ggMarginal at the end of rythms.plot.bland_altman. However I don't know why it appears only with devtools::check calls.
My setup is :
R : 3.6.1
vdiffr: 0.3.2.2
devtools: 2.3.1
ggExtra 0.9
ggplot2: 3.3.2
The text was updated successfully, but these errors were encountered:
In the bulk of cases where we're seen failures only in R CMD check it's because of some subtle bug in your code. Unfortunately debugging this is super painful, and we don't have any great advice currently, but we are starting to accumulate a list of "usual suspects" at hadley/r-pkgs#483.
…devtools::check(env_vars = c(NOT_CRAN = "false"))` to be able to check everything else, but _not_ run the vdiffr tests, because they fail in `devtools::check()`.
We tried debugging some of these failures but, per this comment from Hadley r-lib/devtools#2258 (comment) , it has is very difficult and is a clear drawback of vdiffr. That said, the tests pass with devtools::test() and serve their purpose of ensuring future development doesn't break existing functionality. For this reason, we are moving forward with this approach for now.
Hi,
I got some an issue when I try to check my package using devtools::check.
This command do unit tests where a check for a plot function is done.
Unfortunately, this test systematically fails considering that plots diverge with the saved one.
When I check with other methods there is no issue.
My code is :
After some tests, it seems that the line that produce errors is the ggMarginal at the end of rythms.plot.bland_altman. However I don't know why it appears only with devtools::check calls.
My setup is :
R : 3.6.1
vdiffr: 0.3.2.2
devtools: 2.3.1
ggExtra 0.9
ggplot2: 3.3.2
The text was updated successfully, but these errors were encountered: