tests/testthat/_snaps/c.md

validates inputs

Code
  fct_c(1)
Condition
  Error in `fct_c()`:
  ! All elements of `...` must be factors.
Code
  fct_unify(list(1))
Condition
  Error in `fct_unify()`:
  ! All elements of `fs` must be factors.
Code
  fct_unify(list(factor()), levels = 1)
Condition
  Error in `fct_unify()`:
  ! `levels` must be a character vector, not the number 1.


Try the forcats package in your browser

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

forcats documentation built on Feb. 16, 2023, 8:57 p.m.