deprecation warning
Closed this issue · 3 comments
After a recent update of ggplot2:
data.frame(a=c(1,2,3),b=set_units(c(4,4,3),"m")) |> ggplot() + geom_point(aes(a,b))
Warning message:
Thescale_name
argument ofcontinuous_scale()
is deprecated as of ggplot2 3.5.0.
This warning is displayed once every 8 hours.
Calllifecycle::last_lifecycle_warnings()
to see where this warning was generated.
I only get this when using units.
Thanks!
@Enchufa2 this seems to break quantities
checks in GA, but that might well be false negatives?
@Enchufa2 this seems to break
quantities
checks in GA, but that might well be false negatives?
Sorry, didn't see this message. Kind of. A ggplot2 test fails because the resulting SVG is a little different, but there's no visual difference. I updated the test in quantities and pinned it to this version of units, but we'll need to release quantities before units the next time to avoid CRAN issues. No big deal.