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.


Try the hardhat package in your browser

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

hardhat documentation built on April 4, 2025, 3:18 a.m.