Closed trevorld closed 1 year ago
I'm not observing that a "reference to 'linewidth' while falling back to 'size' (so that your code works prior to the next release of ggplot2)" e.g. data$linewidth %||% data$size
actually gets our code to work with ggplot2 3.3.6 when trying to use a size
aesthetic instead of linewidth
.
However if we get our code to work with the development version of ggplot2 we could simply bump our version requirement for {ggplot2}
in our DESCRIPTION
file...
Next version of {ggplot2}
is intended to be released "at least before the end of the summer": https://github.com/tidyverse/ggplot2/issues/4854
Not clear to if this will be a breaking change for geoms that now use both size
and linewidth
like geom_sf_pattern()
: https://github.com/tidyverse/ggplot2/issues/4883
According to a twitter thread from Thomas Lin Pedersen: