tests/testthat/_snaps/impute-below.md

impute_below returns an error when given the wrong kind of object

Code
  impute_below(0+3i)
Condition
  Error in `impute_below()`:
  ! `impute_below()` does not know how to deal with data of class <complex>
  Check if your input is more than length one, and that you are using the right function. Perhaps you meant to apply this to many variables in a data frame? See the examples dor details on doing this with `across()`

impute_below_all errors when given wrong object

Code
  impute_below_all(as.POSIXct(111, origin = "1970-01-01"))
Condition
  Error in `impute_below_all()`:
  ! Input must inherit from <data.frame>
  We see class: <POSIXct/POSIXt>


njtierney/naniar documentation built on March 19, 2024, 9:48 p.m.