I found out in the ggplot2 test a problem with rounding for the arm64 machine for the vdiffr test (vdiffr::expect_doppelganger).
One of the coordinates is not properly rounded x="0.000000000000064" instead of x='0.00'.
As the function vdiffr:::write_svg is based on the C code, it is not surprising to me.
Minimal example the ggplot2 test.
library(ggplot2)
df <- data.frame(x = 1:3, y = 1:3, z = c("a", "b", "a"), a = 1)
plot <- ggplot(df, aes(x, y, colour = z)) +
geom_point() +
facet_wrap(~ a) +
theme_bw(base_size = 33)
linked to https://github.com/tidyverse/ggplot2/issues/5110
I found out in the ggplot2 test a problem with rounding for the arm64 machine for the
vdiffr
test (vdiffr::expect_doppelganger
). One of the coordinates is not properly roundedx="0.000000000000064"
instead ofx='0.00'
. As the functionvdiffr:::write_svg
is based on the C code, it is not surprising to me.Minimal example the ggplot2 test.
High level:
Low level.
Created on 2022-12-18 with reprex v2.0.2