[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Two test failures in plotly



This issue is fixed in the development version of plotly which will be submitted to CRAN as soon as they're back from vacation (Jan 4th).

Best,

-Carson

On Wed, Dec 23, 2020 at 3:35 AM Andreas Tille <andreas@an3as.eu> wrote:
Hi,

I tried to upgrade the Debian package of plotly but the test
suite has thrown two failures:

-- FAILURE (test-ggplot-sf.R:43:3): geom_sf() geometry collection. -------------
l$data[[4]]$x not equivalent to c(5.5, 7, 7, 6, 5.5, 5.5).
6/6 mismatches (average diff: 1.33)
[1] 7.0 - 5.5 ==  1.5
[2] 6.0 - 7.0 == -1.0
[3] 5.5 - 7.0 == -1.5
[4] 7.0 - 6.0 ==  1.0
[5] 7.0 - 5.5 ==  1.5
[6] 7.0 - 5.5 ==  1.5

-- FAILURE (test-ggplot-sf.R:44:3): geom_sf() geometry collection. -------------
l$data[[4]]$y not equivalent to c(0, 0, -0.5, -0.5, 0, 0).
6/6 mismatches (average diff: 0.5)
[1] -0.5 -  0.0 == -0.5
[2] -0.5 -  0.0 == -0.5
[3]  0.0 - -0.5 ==  0.5
[4]  0.0 - -0.5 ==  0.5
[5] -0.5 -  0.0 == -0.5
[6] -0.5 -  0.0 == -0.5

It seems to check ggplot and I can confirm that ggplot2 is at version
3.3.2 (and thus up to date).

Any idea what might be wrong here?

Kind regards

     Andreas.

--
http://fam-tille.de


--
Carson Sievert, PhD
Software Engineer at RStudio

Reply to: