r-quantities / units

Measurement units for R
https://r-quantities.github.io/units
172 stars 27 forks source link

deprecation warning #367

Closed ilikegitlab closed 3 months ago

ilikegitlab commented 3 months ago

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: The scale_name argument of continuous_scale() is deprecated as of ggplot2 3.5.0. This warning is displayed once every 8 hours. Call lifecycle::last_lifecycle_warnings() to see where this warning was generated.

I only get this when using units.

edzer commented 3 months ago

Thanks!

edzer commented 3 months ago

@Enchufa2 this seems to break quantities checks in GA, but that might well be false negatives?