tests/testthat/_snaps/scales_fill_whitebox.md

Discrete scale

Code
  p + scale_fill_whitebox_d(alpha = -1)
Condition
  Error in `scale_fill_whitebox_d()`:
  ! `alpha` -1 not in [0,1]
Code
  p + scale_fill_whitebox_d(direction = 0.5)
Condition
  Error in `scale_fill_whitebox_d()`:
  ! `direction` must be 1 or -1

Continous scale

Code
  p + scale_fill_whitebox_c(alpha = -1)
Condition
  Error in `scale_fill_whitebox_c()`:
  ! `alpha` -1 not in [0,1]
Code
  p + scale_fill_whitebox_c(direction = 0.5)
Condition
  Error in `scale_fill_whitebox_c()`:
  ! `direction` must be 1 or -1

Breaking scale

Code
  p_init + scale_fill_whitebox_b(alpha = -1)
Condition
  Error in `scale_fill_whitebox_b()`:
  ! `alpha` -1 not in [0,1]
Code
  p + scale_fill_whitebox_b(direction = 0.5)
Condition
  Error in `scale_fill_whitebox_b()`:
  ! `direction` must be 1 or -1

Palette

Code
  whitebox.colors(20, "xx")
Condition
  Error in `extract_pal()`:
  ! `palette` does not match any given palette


dieghernan/tidyterra documentation built on Feb. 20, 2025, 4:18 p.m.