tests/testthat/_snaps/ggplot2_scales_discrete.md

scale_*_paletteer_d correctly used direction

Code
  ggplot2::ggplot(df, ggplot2::aes(x, y, colour = color)) +
    scale_colour_paletteer_d("nord::lumina", direction = 10)
Condition
  Error in `paletteer_d()`:
  ! `direction` must be 1 or -1, not 10.


Try the paletteer package in your browser

Any scripts or data that you put into this service are public.

paletteer documentation built on Jan. 8, 2026, 9:10 a.m.