tests/testthat/_snaps/output-metadata.md

models with no metadata method say so

Code
  tidypredict_output_type(structure(list(), class = "made_up_model"))
Condition
  Error in `tidypredict_output_type()`:
  ! `tidypredict_output_type()` is not available for models of class <made_up_model>.

an rpart parsed model cannot say which mode it came from

Code
  tidypredict_output_type(pm)
Condition
  Error in `tidypredict_output_type()`:
  ! `tidypredict_output_type()` is not available for models of class <parsed_model>.


Try the tidypredict package in your browser

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

tidypredict documentation built on Oct. 18, 2026, 5:06 p.m.