Running examples in ‘DALEXtra-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: explain_tidymodels
> ### Title: Create explainer from your tidymodels workflow.
> ### Aliases: explain_tidymodels
> 
> ### ** Examples
> 
> library("DALEXtra")
> library("tidymodels")
── Attaching packages ────────────────────────────────────── tidymodels 0.1.4 ──
✔ broom        0.7.10     ✔ recipes      0.1.17
✔ dials        0.0.10     ✔ rsample      0.1.1 
✔ dplyr        1.0.7      ✔ tibble       3.1.6 
✔ ggplot2      3.3.5      ✔ tidyr        1.1.4 
✔ infer        1.0.0      ✔ tune         0.1.6 
✔ modeldata    0.1.1      ✔ workflows    0.2.4 
✔ parsnip      0.1.7      ✔ workflowsets 0.1.0 
✔ purrr        0.3.4      ✔ yardstick    0.0.9 
── Conflicts ───────────────────────────────────────── tidymodels_conflicts() ──
✖ purrr::discard() masks scales::discard()
✖ dplyr::explain() masks DALEX::explain()
✖ dplyr::filter()  masks stats::filter()
✖ dplyr::lag()     masks stats::lag()
✖ recipes::step()  masks stats::step()
• Dig deeper into tidy modeling with R at https://www.tmwr.org
> library("recipes")
> data <- titanic_imputed
> data$survived <- as.factor(data$survived)
> rec <- recipe(survived ~ ., data = data) %>%
+        step_normalize(fare)
> model <- decision_tree(tree_depth = 25) %>%
+          set_engine("rpart") %>%
+          set_mode("classification")
> 
> wflow <- workflow() %>%
+          add_recipe(rec) %>%
+          add_model(model)
> 
> 
> model_fitted <- wflow %>%
+                 fit(data = data)
Error: `x` cannot be a vector.
Backtrace:
     █
  1. ├─wflow %>% fit(data = data)
  2. ├─generics::fit(., data = data)
  3. └─workflows:::fit.workflow(., data = data)
  4.   └─workflows::.fit_model(workflow, control)
  5.     ├─generics::fit(action_model, workflow = workflow, control = control)
  6.     └─workflows:::fit.action_model(...)
  7.       └─workflows:::fit_from_xy(spec, mold, control_parsnip)
  8.         ├─generics::fit_xy(...)
  9.         └─parsnip::fit_xy.model_spec(...)
 10.           └─parsnip:::xy_form(...)
 11.             └─parsnip::.convert_xy_to_form_fit(...)
Execution halted