Hi, I've recently installed the latest version of R and ggplot2, and noticed that my plots have changed. I suspect it has something to do with the change in how the width of lines is handled by ggplot2 (https://www.tidyverse.org/blog/2022/11/ggplot2-3-4-0/).
Instead of size, newer versions of ggplot2 require the use of linewidth for specifying line thickness.
For geom_hpline(), this seems to have done the trick:
Hi, I've recently installed the latest version of R and ggplot2, and noticed that my plots have changed. I suspect it has something to do with the change in how the width of lines is handled by ggplot2 (https://www.tidyverse.org/blog/2022/11/ggplot2-3-4-0/).
Instead of
size
, newer versions of ggplot2 require the use oflinewidth
for specifying line thickness.For
geom_hpline()
, this seems to have done the trick:Not sure this repo is still being updated, but others might find this info useful as well...