tests/testthat/_snaps/mold-recipe.md

data is validated

Code
  mold(recipes::recipe(Species ~ Sepal.Length, data = iris), 1)
Condition
  Error in `mold()`:
  ! `data` must be a data frame or a matrix, not the number 1.


tidymodels/hardhat documentation built on Dec. 14, 2024, 11:11 a.m.