Closed
Description
Intentionally introducing a failure:
# with extract_fit_time():
# pak::pak("tidymodels/parsnip@fd5124c")
library(parsnip)
library(modeldata)
boost_tree(mtry = tune::tune()) %>%
set_mode("regression") %>%
fit(bill_length_mm ~ ., data = penguins)
#> Error in min(denom, x): invalid 'type' (language) of argument
#> Timing stopped at: 0.002 0.001 0.003
Created on 2024-04-09 with reprex v2.1.0
Before #853:
# with CRAN:
library(parsnip)
library(modeldata)
boost_tree(mtry = tune::tune()) %>%
set_mode("regression") %>%
fit(bill_length_mm ~ ., data = penguins)
#> Error in min(denom, x): invalid 'type' (language) of argument
Created on 2024-04-09 with reprex v2.1.0
This showed up in snaps on bonsai.