You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think I've found a regression in the ggplot2 package when working with units objects. This is the output with the CRAN version of ggplot2:
library(ggplot2)
#> Warning: package 'ggplot2' was built under R version 4.4.3
library(units)
#> udunits database from C:/Users/andre/AppData/Local/R/win-library/4.4/units/share/udunits/udunits2.xmltoy<-data.frame(x= set_units(1:10, "m", mode="standard"))
ggplot(toy) +
geom_point(aes(x=x, y=x))
We adapted that method in #6200. I think that feature is valuable, implementing backwards compatibility will be gnarly and I don't think we advertise make_title() as an extension point. For these reasons I'm inclined to suggest that {units} should add a ... argument to their method.
Dear all,
I think I've found a regression in the ggplot2 package when working with
units
objects. This is the output with the CRAN version of ggplot2:Created on 2025-03-07 with reprex v2.1.1.9000
Session info
and this is what happens with the Github version:
Created on 2025-03-07 with reprex v2.1.1.9000
Session info
I'm not sure whether this is a ggplot2 or units issue but, for the moment, I reported this issue only here.
The text was updated successfully, but these errors were encountered: