Open XiangyunHuang opened 1 year ago
following code will give a warning message now, because https://github.com/tidyverse/ggplot2/pull/3672
library(likert) data("MathAnxiety") math_anxiety <- likert(summary = MathAnxiety) plot(math_anxiety, type = "bar", legend.position = "bottom")
Warning message: The size argument of element_rect() is deprecated as of ggplot2 3.4.0. Please use the linewidth argument instead.
size
element_rect()
linewidth
Would you mind updatingplot() code.
plot()
following code will give a warning message now, because https://github.com/tidyverse/ggplot2/pull/3672
Warning message: The
size
argument ofelement_rect()
is deprecated as of ggplot2 3.4.0. Please use thelinewidth
argument instead.Would you mind updating
plot()
code.