Open mdancho84 opened 3 years ago
Getting this error when trying several tidymodels: MARS (shown), Random Forest, etc
Error in if (minfo$is_bayesian) { : argument is of length zero
# * MARS Regression ---- library(tidymodels) library(tidyverse) library(performance) model_earth_tidy <- mars(mode = "regression") %>% set_engine("earth") %>% fit(hwy ~ displ + class, data = mpg) check_model(model_earth_tidy) #> Error in if (minfo$is_bayesian) {: argument is of length zero
Created on 2021-07-13 by the reprex package (v2.0.0)
In your example, a model of class earth is fit, which is not yet supported. I'm moving this issue to the relevant repository.
earth
Getting this error when trying several tidymodels: MARS (shown), Random Forest, etc
Reproducible Example
Created on 2021-07-13 by the reprex package (v2.0.0)