Closed DunLug closed 4 years ago
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 https://github.com/hadley/r-pkgs/issues/483.
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