tests/testthat/_snaps/repair_call.md

repair_call errors for non-model_fit objects

Code
  repair_call(list(a = 1), mtcars)
Condition
  Error in `repair_call()`:
  ! `x` should be a fitted parsnip model, not a list.
Code
  repair_call(mtcars, mtcars)
Condition
  Error in `repair_call()`:
  ! `x` should be a fitted parsnip model, not a data frame.


Try the parsnip package in your browser

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

parsnip documentation built on May 14, 2026, 5:08 p.m.