tests/testthat/_snaps/paletteer_c.md

paletteer_c throws an error when n is unspecified

Code
  paletteer_c("grDevices::rainbow")
Condition
  Error in `paletteer_c()`:
  ! `n` must be a whole number, not absent.

direction works correctly in paletteer_c

Code
  paletteer_c("grDevices::rainbow", 3, direction = 10)
Condition
  Error in `paletteer_c()`:
  ! `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.