tests/testthat/_snaps/label-number.md

scale_cut checks its inputs

Code
  number(1, scale_cut = 0)
Condition
  Error in `scale_cut()`:
  ! `scale_cut` must be a named numeric vector
Code
  number(1, scale_cut = "x")
Condition
  Error in `scale_cut()`:
  ! `scale_cut` must be a named numeric vector
Code
  number(1, scale_cut = c(x = 0, NA))
Condition
  Error in `scale_cut()`:
  ! `scale_cut` values must not be missing


Try the scales package in your browser

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

scales documentation built on July 4, 2024, 1:11 a.m.