EmilHvitfeldt/paletteer

Usage of deprecated `ggplot2::discrete_scale()` argument `scale_name`

Opened this issue · 0 comments

Running the following code from the README...

paletteer/README.md

Lines 99 to 103 in a8c27ce

library(ggplot2)
ggplot(iris, aes(Sepal.Length, Sepal.Width, color = Species)) +
geom_point() +
scale_color_paletteer_d("nord::aurora")

...after setting options(lifecycle_verbosity = "error") leads to the following error:

Error:
! The `scale_name` argument of `discrete_scale()`
  is deprecated as of ggplot2 3.5.0.
Run `rlang::last_trace()` to see where the error occurred.