tests/testthat/_snaps/stringsAsFactors.md

strings_as_factors = FALSE

Code
  rec1_as_str <- bake(rec1, new_data = as_str)
Condition
  Warning:
  ! There were 2 columns that were factors when the recipe was prepped:
  * `fact` and `ord`
  i This may cause errors when processing new data.

strings_as_factors = TRUE

Code
  rec2_as_str <- bake(rec2, new_data = as_str)
Condition
  Warning:
  ! There were 2 columns that were factors when the recipe was prepped:
  * `fact` and `ord`
  i This may cause errors when processing new data.


topepo/recipes documentation built on April 10, 2024, 10:30 p.m.