tests/testthat/_snaps/case-weights.md

case weights with formula method -- unregistered model spec

Code
  bag_mars("regression") %>% fit(Sale_Price ~ Longitude + Latitude, data = ames,
  case_weights = wts)
Condition
  Error in `case_weights_allowed()`:
  ! Error in getting model information for model bag_mars with engine earth and mode regression.


topepo/parsnip documentation built on April 16, 2024, 3:23 a.m.