Debian Codegraph @

tests/testthat/_snaps/label-number.md

raw
1 # scale_cut checks its inputs
2
3 Code
4 number(1, scale_cut = 0)
5 Condition
6 Error in `scale_cut()`:
7 ! `scale_cut` must have names
8 Code
9 number(1, scale_cut = "x")
10 Condition
11 Error in `scale_cut()`:
12 ! `scale_cut` must be a numeric vector, not the string "x".
13 Code
14 number(1, scale_cut = c(x = 0, NA))
15 Condition
16 Error in `scale_cut()`:
17 ! `scale_cut` values must not be missing
18