tests/testthat/_snaps/case-weight-functions.md

is_unsupervised_weights works

Code
  is_unsupervised_weights(3)
Condition
  Error in `is_unsupervised_weights()`:
  ! Must be be a `case_weights` variable.
Code
  too_many_case_weights(c("var1", "var2"))
Condition
  Error:
  ! There should only be a single column with the role `case_weights`.
  i In these data, there are 2 columns: `var1` and `var2`.


Try the recipes package in your browser

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

recipes documentation built on July 4, 2024, 9:06 a.m.