mikabr / ggpirate

pirate plots for ggplot2

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Deprecated usage of `size` aesthetic

fkohrt opened this issue · comments

Running the following:

options(lifecycle_verbosity = "error")
sleep |>
  ggplot2::ggplot(ggplot2::aes(x = extra, y = group)) +
  ggpirate::geom_pirate(
    ggplot2::aes(colour = group, fill = group),
    points = TRUE,
    bars = FALSE,
    lines = TRUE,
    cis = FALSE,
    violins = TRUE
  ) +
  ggplot2::theme_minimal()

...leads to the following error:

Error:
! Using `size` aesthetic for lines was
  deprecated in ggplot2 3.4.0.
ℹ Please use `linewidth` instead.