Running ‘testthat.R’ [10s/17s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(workflows)
  > 
  > test_check("workflows")
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • On CRAN (14)
  • broom cannot be loaded (5)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-butcher.R:11:3): attaches the butcher class ─────────────────────
  Error: `x` cannot be a vector.
  Backtrace:
       █
    1. ├─generics::fit(wf, mtcars) test-butcher.R:11:2
    2. └─workflows:::fit.workflow(wf, mtcars)
    3.   └─workflows::.fit_model(workflow, control)
    4.     ├─generics::fit(action_model, workflow = workflow, control = control)
    5.     └─workflows:::fit.action_model(...)
    6.       └─workflows:::fit_from_xy(spec, mold, control_parsnip)
    7.         ├─generics::fit_xy(...)
    8.         └─parsnip::fit_xy.model_spec(...)
    9.           └─parsnip:::xy_form(...)
   10.             └─parsnip::.convert_xy_to_form_fit(...)
  ── Error (test-butcher.R:32:3): can axe the call ───────────────────────────────
  Error: `x` cannot be a vector.
  Backtrace:
       █
    1. ├─generics::fit(wf, mtcars) test-butcher.R:32:2
    2. └─workflows:::fit.workflow(wf, mtcars)
    3.   └─workflows::.fit_model(workflow, control)
    4.     ├─generics::fit(action_model, workflow = workflow, control = control)
    5.     └─workflows:::fit.action_model(...)
    6.       └─workflows:::fit_from_xy(spec, mold, control_parsnip)
    7.         ├─generics::fit_xy(...)
    8.         └─parsnip::fit_xy.model_spec(...)
    9.           └─parsnip:::xy_form(...)
   10.             └─parsnip::.convert_xy_to_form_fit(...)
  ── Error (test-butcher.R:48:3): can axe the fitted bits ────────────────────────
  Error: `x` cannot be a vector.
  Backtrace:
       █
    1. ├─generics::fit(wf, mtcars) test-butcher.R:48:2
    2. └─workflows:::fit.workflow(wf, mtcars)
    3.   └─workflows::.fit_model(workflow, control)
    4.     ├─generics::fit(action_model, workflow = workflow, control = control)
    5.     └─workflows:::fit.action_model(...)
    6.       └─workflows:::fit_from_xy(spec, mold, control_parsnip)
    7.         ├─generics::fit_xy(...)
    8.         └─parsnip::fit_xy.model_spec(...)
    9.           └─parsnip:::xy_form(...)
   10.             └─parsnip::.convert_xy_to_form_fit(...)
  ── Error (test-butcher.R:64:3): axing the data removes the outcomes/predictors ──
  Error: `x` cannot be a vector.
  Backtrace:
       █
    1. ├─generics::fit(wf, mtcars) test-butcher.R:64:2
    2. └─workflows:::fit.workflow(wf, mtcars)
    3.   └─workflows::.fit_model(workflow, control)
    4.     ├─generics::fit(action_model, workflow = workflow, control = control)
    5.     └─workflows:::fit.action_model(...)
    6.       └─workflows:::fit_from_xy(spec, mold, control_parsnip)
    7.         ├─generics::fit_xy(...)
    8.         └─parsnip::fit_xy.model_spec(...)
    9.           └─parsnip:::xy_form(...)
   10.             └─parsnip::.convert_xy_to_form_fit(...)
  ── Error (test-butcher.R:88:3): axing the env - recipe ─────────────────────────
  Error: `x` cannot be a vector.
  Backtrace:
       █
    1. ├─generics::fit(wf, mtcars) test-butcher.R:88:2
    2. └─workflows:::fit.workflow(wf, mtcars)
    3.   └─workflows::.fit_model(workflow, control)
    4.     ├─generics::fit(action_model, workflow = workflow, control = control)
    5.     └─workflows:::fit.action_model(...)
    6.       └─workflows:::fit_from_xy(spec, mold, control_parsnip)
    7.         ├─generics::fit_xy(...)
    8.         └─parsnip::fit_xy.model_spec(...)
    9.           └─parsnip:::xy_form(...)
   10.             └─parsnip::.convert_xy_to_form_fit(...)
  ── Error (test-butcher.R:104:3): axing the env - formula ───────────────────────
  Error: `x` cannot be a vector.
  Backtrace:
       █
    1. ├─generics::fit(wf, mtcars) test-butcher.R:104:2
    2. └─workflows:::fit.workflow(wf, mtcars)
    3.   └─workflows::.fit_model(workflow, control)
    4.     ├─generics::fit(action_model, workflow = workflow, control = control)
    5.     └─workflows:::fit.action_model(...)
    6.       └─workflows:::fit_from_xy(spec, mold, control_parsnip)
    7.         ├─generics::fit_xy(...)
    8.         └─parsnip::fit_xy.model_spec(...)
    9.           └─parsnip:::xy_form(...)
   10.             └─parsnip::.convert_xy_to_form_fit(...)
  ── Error (test-butcher.R:120:3): axing the env - variables ─────────────────────
  Error: `x` cannot be a vector.
  Backtrace:
       █
    1. ├─generics::fit(wf, mtcars) test-butcher.R:120:2
    2. └─workflows:::fit.workflow(wf, mtcars)
    3.   └─workflows::.fit_model(workflow, control)
    4.     ├─generics::fit(action_model, workflow = workflow, control = control)
    5.     └─workflows:::fit.action_model(...)
    6.       └─workflows:::fit_from_xy(spec, mold, control_parsnip)
    7.         ├─generics::fit_xy(...)
    8.         └─parsnip::fit_xy.model_spec(...)
    9.           └─parsnip:::xy_form(...)
   10.             └─parsnip::.convert_xy_to_form_fit(...)
  ── Error (test-butcher.R:151:3): can still predict after butcher - recipe ──────
  Error: `x` cannot be a vector.
  Backtrace:
       █
    1. ├─generics::fit(wf, mtcars) test-butcher.R:151:2
    2. └─workflows:::fit.workflow(wf, mtcars)
    3.   └─workflows::.fit_model(workflow, control)
    4.     ├─generics::fit(action_model, workflow = workflow, control = control)
    5.     └─workflows:::fit.action_model(...)
    6.       └─workflows:::fit_from_xy(spec, mold, control_parsnip)
    7.         ├─generics::fit_xy(...)
    8.         └─parsnip::fit_xy.model_spec(...)
    9.           └─parsnip:::xy_form(...)
   10.             └─parsnip::.convert_xy_to_form_fit(...)
  ── Error (test-butcher.R:170:3): can still predict after butcher - formula ─────
  Error: `x` cannot be a vector.
  Backtrace:
       █
    1. ├─generics::fit(wf, mtcars) test-butcher.R:170:2
    2. └─workflows:::fit.workflow(wf, mtcars)
    3.   └─workflows::.fit_model(workflow, control)
    4.     ├─generics::fit(action_model, workflow = workflow, control = control)
    5.     └─workflows:::fit.action_model(...)
    6.       └─workflows:::fit_from_xy(spec, mold, control_parsnip)
    7.         ├─generics::fit_xy(...)
    8.         └─parsnip::fit_xy.model_spec(...)
    9.           └─parsnip:::xy_form(...)
   10.             └─parsnip::.convert_xy_to_form_fit(...)
  ── Error (test-butcher.R:189:3): can still predict after butcher - variables ───
  Error: `x` cannot be a vector.
  Backtrace:
       █
    1. ├─generics::fit(wf, mtcars) test-butcher.R:189:2
    2. └─workflows:::fit.workflow(wf, mtcars)
    3.   └─workflows::.fit_model(workflow, control)
    4.     ├─generics::fit(action_model, workflow = workflow, control = control)
    5.     └─workflows:::fit.action_model(...)
    6.       └─workflows:::fit_from_xy(spec, mold, control_parsnip)
    7.         ├─generics::fit_xy(...)
    8.         └─parsnip::fit_xy.model_spec(...)
    9.           └─parsnip:::xy_form(...)
   10.             └─parsnip::.convert_xy_to_form_fit(...)
  ── Error (test-extract.R:92:3): can extract a parsnip model fit ────────────────
  Error: `x` cannot be a vector.
  Backtrace:
       █
    1. ├─generics::fit(workflow, mtcars) test-extract.R:92:2
    2. └─workflows:::fit.workflow(workflow, mtcars)
    3.   └─workflows::.fit_model(workflow, control)
    4.     ├─generics::fit(action_model, workflow = workflow, control = control)
    5.     └─workflows:::fit.action_model(...)
    6.       └─workflows:::fit_from_xy(spec, mold, control_parsnip)
    7.         ├─generics::fit_xy(...)
    8.         └─parsnip::fit_xy.model_spec(...)
    9.           └─parsnip:::xy_form(...)
   10.             └─parsnip::.convert_xy_to_form_fit(...)
  ── Error (test-extract.R:125:3): can extract a engine model fit ────────────────
  Error: `x` cannot be a vector.
  Backtrace:
       █
    1. ├─generics::fit(workflow, mtcars) test-extract.R:125:2
    2. └─workflows:::fit.workflow(workflow, mtcars)
    3.   └─workflows::.fit_model(workflow, control)
    4.     ├─generics::fit(action_model, workflow = workflow, control = control)
    5.     └─workflows:::fit.action_model(...)
    6.       └─workflows:::fit_from_xy(spec, mold, control_parsnip)
    7.         ├─generics::fit_xy(...)
    8.         └─parsnip::fit_xy.model_spec(...)
    9.           └─parsnip:::xy_form(...)
   10.             └─parsnip::.convert_xy_to_form_fit(...)
  ── Error (test-extract.R:144:3): can extract a mold ────────────────────────────
  Error: `x` cannot be a vector.
  Backtrace:
       █
    1. ├─generics::fit(workflow, mtcars) test-extract.R:144:2
    2. └─workflows:::fit.workflow(workflow, mtcars)
    3.   └─workflows::.fit_model(workflow, control)
    4.     ├─generics::fit(action_model, workflow = workflow, control = control)
    5.     └─workflows:::fit.action_model(...)
    6.       └─workflows:::fit_from_xy(spec, mold, control_parsnip)
    7.         ├─generics::fit_xy(...)
    8.         └─parsnip::fit_xy.model_spec(...)
    9.           └─parsnip:::xy_form(...)
   10.             └─parsnip::.convert_xy_to_form_fit(...)
  ── Error (test-extract.R:181:3): can extract a prepped recipe ──────────────────
  Error: `x` cannot be a vector.
  Backtrace:
       █
    1. ├─generics::fit(workflow, mtcars) test-extract.R:181:2
    2. └─workflows:::fit.workflow(workflow, mtcars)
    3.   └─workflows::.fit_model(workflow, control)
    4.     ├─generics::fit(action_model, workflow = workflow, control = control)
    5.     └─workflows:::fit.action_model(...)
    6.       └─workflows:::fit_from_xy(spec, mold, control_parsnip)
    7.         ├─generics::fit_xy(...)
    8.         └─parsnip::fit_xy.model_spec(...)
    9.           └─parsnip:::xy_form(...)
   10.             └─parsnip::.convert_xy_to_form_fit(...)
  ── Error (test-fit-action-model.R:67:3): remove a model after model fit ────────
  Error: `x` cannot be a vector.
  Backtrace:
       █
    1. ├─generics::fit(workflow_with_model, data = mtcars) test-fit-action-model.R:67:2
    2. └─workflows:::fit.workflow(workflow_with_model, data = mtcars)
    3.   └─workflows::.fit_model(workflow, control)
    4.     ├─generics::fit(action_model, workflow = workflow, control = control)
    5.     └─workflows:::fit.action_model(...)
    6.       └─workflows:::fit_from_xy(spec, mold, control_parsnip)
    7.         ├─generics::fit_xy(...)
    8.         └─parsnip::fit_xy.model_spec(...)
    9.           └─parsnip:::xy_form(...)
   10.             └─parsnip::.convert_xy_to_form_fit(...)
  ── Error (test-fit-action-model.R:97:3): update a model after model fit ────────
  Error: `x` cannot be a vector.
  Backtrace:
       █
    1. ├─generics::fit(workflow, data = mtcars) test-fit-action-model.R:97:2
    2. └─workflows:::fit.workflow(workflow, data = mtcars)
    3.   └─workflows::.fit_model(workflow, control)
    4.     ├─generics::fit(action_model, workflow = workflow, control = control)
    5.     └─workflows:::fit.action_model(...)
    6.       └─workflows:::fit_from_xy(spec, mold, control_parsnip)
    7.         ├─generics::fit_xy(...)
    8.         └─parsnip::fit_xy.model_spec(...)
    9.           └─parsnip:::xy_form(...)
   10.             └─parsnip::.convert_xy_to_form_fit(...)
  ── Error (test-fit.R:13:3): can `fit()` a workflow with a recipe ───────────────
  Error: `x` cannot be a vector.
  Backtrace:
       █
    1. ├─generics::fit(workflow, mtcars) test-fit.R:13:2
    2. └─workflows:::fit.workflow(workflow, mtcars)
    3.   └─workflows::.fit_model(workflow, control)
    4.     ├─generics::fit(action_model, workflow = workflow, control = control)
    5.     └─workflows:::fit.action_model(...)
    6.       └─workflows:::fit_from_xy(spec, mold, control_parsnip)
    7.         ├─generics::fit_xy(...)
    8.         └─parsnip::fit_xy.model_spec(...)
    9.           └─parsnip:::xy_form(...)
   10.             └─parsnip::.convert_xy_to_form_fit(...)
  ── Error (test-fit.R:31:3): can `fit()` a workflow with a formula ──────────────
  Error: `x` cannot be a vector.
  Backtrace:
       █
    1. ├─generics::fit(workflow, mtcars) test-fit.R:31:2
    2. └─workflows:::fit.workflow(workflow, mtcars)
    3.   └─workflows::.fit_model(workflow, control)
    4.     ├─generics::fit(action_model, workflow = workflow, control = control)
    5.     └─workflows:::fit.action_model(...)
    6.       └─workflows:::fit_from_xy(spec, mold, control_parsnip)
    7.         ├─generics::fit_xy(...)
    8.         └─parsnip::fit_xy.model_spec(...)
    9.           └─parsnip:::xy_form(...)
   10.             └─parsnip::.convert_xy_to_form_fit(...)
  ── Error (test-fit.R:184:3): workflow is marked as 'trained' after going through `.fit_finalize()` ──
  Error: `x` cannot be a vector.
  Backtrace:
      █
   1. └─workflows::.fit_model(workflow_pre, control_workflow()) test-fit.R:184:2
   2.   ├─generics::fit(action_model, workflow = workflow, control = control)
   3.   └─workflows:::fit.action_model(...)
   4.     └─workflows:::fit_from_xy(spec, mold, control_parsnip)
   5.       ├─generics::fit_xy(...)
   6.       └─parsnip::fit_xy.model_spec(...)
   7.         └─parsnip:::xy_form(...)
   8.           └─parsnip::.convert_xy_to_form_fit(...)
  ── Error (test-fit.R:200:3): can `predict()` from workflow fit from individual pieces ──
  Error: `x` cannot be a vector.
  Backtrace:
      █
   1. └─workflows::.fit_model(workflow_pre, control_workflow()) test-fit.R:200:2
   2.   ├─generics::fit(action_model, workflow = workflow, control = control)
   3.   └─workflows:::fit.action_model(...)
   4.     └─workflows:::fit_from_xy(spec, mold, control_parsnip)
   5.       ├─generics::fit_xy(...)
   6.       └─parsnip::fit_xy.model_spec(...)
   7.         └─parsnip:::xy_form(...)
   8.           └─parsnip::.convert_xy_to_form_fit(...)
  ── Error (test-pre-action-formula.R:36:3): formula preprocessing is executed upon `fit()` ──
  Error: `x` cannot be a vector.
  Backtrace:
       █
    1. ├─generics::fit(workflow, mtcars) test-pre-action-formula.R:36:2
    2. └─workflows:::fit.workflow(workflow, mtcars)
    3.   └─workflows::.fit_model(workflow, control)
    4.     ├─generics::fit(action_model, workflow = workflow, control = control)
    5.     └─workflows:::fit.action_model(...)
    6.       └─workflows:::fit_from_xy(spec, mold, control_parsnip)
    7.         ├─generics::fit_xy(...)
    8.         └─parsnip::fit_xy.model_spec(...)
    9.           └─parsnip:::xy_form(...)
   10.             └─parsnip::.convert_xy_to_form_fit(...)
  ── Error (test-pre-action-formula.R:72:3): remove a formula after model fit ────
  Error: `x` cannot be a vector.
  Backtrace:
       █
    1. ├─generics::fit(workflow_with_formula, data = mtcars) test-pre-action-formula.R:72:2
    2. └─workflows:::fit.workflow(workflow_with_formula, data = mtcars)
    3.   └─workflows::.fit_model(workflow, control)
    4.     ├─generics::fit(action_model, workflow = workflow, control = control)
    5.     └─workflows:::fit.action_model(...)
    6.       └─workflows:::fit_from_xy(spec, mold, control_parsnip)
    7.         ├─generics::fit_xy(...)
    8.         └─parsnip::fit_xy.model_spec(...)
    9.           └─parsnip:::xy_form(...)
   10.             └─parsnip::.convert_xy_to_form_fit(...)
  ── Error (test-pre-action-formula.R:95:3): update a formula after model fit ────
  Error: `x` cannot be a vector.
  Backtrace:
       █
    1. ├─generics::fit(workflow, data = mtcars) test-pre-action-formula.R:95:2
    2. └─workflows:::fit.workflow(workflow, data = mtcars)
    3.   └─workflows::.fit_model(workflow, control)
    4.     ├─generics::fit(action_model, workflow = workflow, control = control)
    5.     └─workflows:::fit.action_model(...)
    6.       └─workflows:::fit_from_xy(spec, mold, control_parsnip)
    7.         ├─generics::fit_xy(...)
    8.         └─parsnip::fit_xy.model_spec(...)
    9.           └─parsnip:::xy_form(...)
   10.             └─parsnip::.convert_xy_to_form_fit(...)
  ── Error (test-pre-action-formula.R:116:3): can pass a blueprint through to hardhat::mold() ──
  Error: `x` cannot be a vector.
  Backtrace:
       █
    1. ├─generics::fit(workflow, data = mtcars) test-pre-action-formula.R:116:2
    2. └─workflows:::fit.workflow(workflow, data = mtcars)
    3.   └─workflows::.fit_model(workflow, control)
    4.     ├─generics::fit(action_model, workflow = workflow, control = control)
    5.     └─workflows:::fit.action_model(...)
    6.       └─workflows:::fit_from_xy(spec, mold, control_parsnip)
    7.         ├─generics::fit_xy(...)
    8.         └─parsnip::fit_xy.model_spec(...)
    9.           └─parsnip:::xy_form(...)
   10.             └─parsnip::.convert_xy_to_form_fit(...)
  ── Error (test-pre-action-recipe.R:52:3): remove a recipe after model fit ──────
  Error: `x` cannot be a vector.
  Backtrace:
       █
    1. ├─generics::fit(workflow_with_recipe, data = mtcars) test-pre-action-recipe.R:52:2
    2. └─workflows:::fit.workflow(workflow_with_recipe, data = mtcars)
    3.   └─workflows::.fit_model(workflow, control)
    4.     ├─generics::fit(action_model, workflow = workflow, control = control)
    5.     └─workflows:::fit.action_model(...)
    6.       └─workflows:::fit_from_xy(spec, mold, control_parsnip)
    7.         ├─generics::fit_xy(...)
    8.         └─parsnip::fit_xy.model_spec(...)
    9.           └─parsnip:::xy_form(...)
   10.             └─parsnip::.convert_xy_to_form_fit(...)
  ── Error (test-pre-action-recipe.R:81:3): update a recipe after model fit ──────
  Error: `x` cannot be a vector.
  Backtrace:
       █
    1. ├─generics::fit(workflow, data = mtcars) test-pre-action-recipe.R:81:2
    2. └─workflows:::fit.workflow(workflow, data = mtcars)
    3.   └─workflows::.fit_model(workflow, control)
    4.     ├─generics::fit(action_model, workflow = workflow, control = control)
    5.     └─workflows:::fit.action_model(...)
    6.       └─workflows:::fit_from_xy(spec, mold, control_parsnip)
    7.         ├─generics::fit_xy(...)
    8.         └─parsnip::fit_xy.model_spec(...)
    9.           └─parsnip:::xy_form(...)
   10.             └─parsnip::.convert_xy_to_form_fit(...)
  ── Error (test-pre-action-recipe.R:103:3): recipe is prepped upon `fit()` ──────
  Error: `x` cannot be a vector.
  Backtrace:
       █
    1. ├─generics::fit(workflow, mtcars) test-pre-action-recipe.R:103:2
    2. └─workflows:::fit.workflow(workflow, mtcars)
    3.   └─workflows::.fit_model(workflow, control)
    4.     ├─generics::fit(action_model, workflow = workflow, control = control)
    5.     └─workflows:::fit.action_model(...)
    6.       └─workflows:::fit_from_xy(spec, mold, control_parsnip)
    7.         ├─generics::fit_xy(...)
    8.         └─parsnip::fit_xy.model_spec(...)
    9.           └─parsnip:::xy_form(...)
   10.             └─parsnip::.convert_xy_to_form_fit(...)
  ── Error (test-pre-action-recipe.R:141:3): can pass a blueprint through to hardhat::mold() ──
  Error: `x` cannot be a vector.
  Backtrace:
       █
    1. ├─generics::fit(workflow, data = mtcars) test-pre-action-recipe.R:141:2
    2. └─workflows:::fit.workflow(workflow, data = mtcars)
    3.   └─workflows::.fit_model(workflow, control)
    4.     ├─generics::fit(action_model, workflow = workflow, control = control)
    5.     └─workflows:::fit.action_model(...)
    6.       └─workflows:::fit_from_xy(spec, mold, control_parsnip)
    7.         ├─generics::fit_xy(...)
    8.         └─parsnip::fit_xy.model_spec(...)
    9.           └─parsnip:::xy_form(...)
   10.             └─parsnip::.convert_xy_to_form_fit(...)
  ── Error (test-pre-action-variables.R:45:3): works with fit() ──────────────────
  Error: `x` cannot be a vector.
  Backtrace:
       █
    1. ├─generics::fit(workflow, mtcars) test-pre-action-variables.R:45:2
    2. └─workflows:::fit.workflow(workflow, mtcars)
    3.   └─workflows::.fit_model(workflow, control)
    4.     ├─generics::fit(action_model, workflow = workflow, control = control)
    5.     └─workflows:::fit.action_model(...)
    6.       └─workflows:::fit_from_xy(spec, mold, control_parsnip)
    7.         ├─generics::fit_xy(...)
    8.         └─parsnip::fit_xy.model_spec(...)
    9.           └─parsnip:::xy_form(...)
   10.             └─parsnip::.convert_xy_to_form_fit(...)
  ── Error (test-pre-action-variables.R:73:3): works with fit() when using `variables` specification ──
  Error: `x` cannot be a vector.
  Backtrace:
       █
    1. ├─generics::fit(workflow, mtcars) test-pre-action-variables.R:73:2
    2. └─workflows:::fit.workflow(workflow, mtcars)
    3.   └─workflows::.fit_model(workflow, control)
    4.     ├─generics::fit(action_model, workflow = workflow, control = control)
    5.     └─workflows:::fit.action_model(...)
    6.       └─workflows:::fit_from_xy(spec, mold, control_parsnip)
    7.         ├─generics::fit_xy(...)
    8.         └─parsnip::fit_xy.model_spec(...)
    9.           └─parsnip:::xy_form(...)
   10.             └─parsnip::.convert_xy_to_form_fit(...)
  ── Error (test-pre-action-variables.R:132:3): can use `all_of(x)` when `x` is in the scope of `fit()` ──
  Error: `x` cannot be a vector.
  Backtrace:
       █
    1. ├─generics::fit(workflow, mtcars) test-pre-action-variables.R:132:2
    2. └─workflows:::fit.workflow(workflow, mtcars)
    3.   └─workflows::.fit_model(workflow, control)
    4.     ├─generics::fit(action_model, workflow = workflow, control = control)
    5.     └─workflows:::fit.action_model(...)
    6.       └─workflows:::fit_from_xy(spec, mold, control_parsnip)
    7.         ├─generics::fit_xy(...)
    8.         └─parsnip::fit_xy.model_spec(...)
    9.           └─parsnip:::xy_form(...)
   10.             └─parsnip::.convert_xy_to_form_fit(...)
  ── Error (test-pre-action-variables.R:219:3): can remove variables after model fit ──
  Error: `x` cannot be a vector.
  Backtrace:
       █
    1. ├─generics::fit(wf1, data = mtcars) test-pre-action-variables.R:219:2
    2. └─workflows:::fit.workflow(wf1, data = mtcars)
    3.   └─workflows::.fit_model(workflow, control)
    4.     ├─generics::fit(action_model, workflow = workflow, control = control)
    5.     └─workflows:::fit.action_model(...)
    6.       └─workflows:::fit_from_xy(spec, mold, control_parsnip)
    7.         ├─generics::fit_xy(...)
    8.         └─parsnip::fit_xy.model_spec(...)
    9.           └─parsnip:::xy_form(...)
   10.             └─parsnip::.convert_xy_to_form_fit(...)
  ── Error (test-pre-action-variables.R:264:3): can pass a blueprint through to hardhat::mold() ──
  Error: `x` cannot be a vector.
  Backtrace:
       █
    1. ├─generics::fit(workflow, data = mtcars) test-pre-action-variables.R:264:2
    2. └─workflows:::fit.workflow(workflow, data = mtcars)
    3.   └─workflows::.fit_model(workflow, control)
    4.     ├─generics::fit(action_model, workflow = workflow, control = control)
    5.     └─workflows:::fit.action_model(...)
    6.       └─workflows:::fit_from_xy(spec, mold, control_parsnip)
    7.         ├─generics::fit_xy(...)
    8.         └─parsnip::fit_xy.model_spec(...)
    9.           └─parsnip:::xy_form(...)
   10.             └─parsnip::.convert_xy_to_form_fit(...)
  ── Error (test-predict.R:9:3): can predict from a workflow ─────────────────────
  Error: `x` cannot be a vector.
  Backtrace:
       █
    1. ├─generics::fit(workflow, mtcars) test-predict.R:9:2
    2. └─workflows:::fit.workflow(workflow, mtcars)
    3.   └─workflows::.fit_model(workflow, control)
    4.     ├─generics::fit(action_model, workflow = workflow, control = control)
    5.     └─workflows:::fit.action_model(...)
    6.       └─workflows:::fit_from_xy(spec, mold, control_parsnip)
    7.         ├─generics::fit_xy(...)
    8.         └─parsnip::fit_xy.model_spec(...)
    9.           └─parsnip:::xy_form(...)
   10.             └─parsnip::.convert_xy_to_form_fit(...)
  ── Error (test-predict.R:29:3): formula preprocessing is done to the `new_data` ──
  Error: `x` cannot be a vector.
  Backtrace:
       █
    1. ├─generics::fit(workflow, mtcars) test-predict.R:29:2
    2. └─workflows:::fit.workflow(workflow, mtcars)
    3.   └─workflows::.fit_model(workflow, control)
    4.     ├─generics::fit(action_model, workflow = workflow, control = control)
    5.     └─workflows:::fit.action_model(...)
    6.       └─workflows:::fit_from_xy(spec, mold, control_parsnip)
    7.         ├─generics::fit_xy(...)
    8.         └─parsnip::fit_xy.model_spec(...)
    9.           └─parsnip:::xy_form(...)
   10.             └─parsnip::.convert_xy_to_form_fit(...)
  ── Error (test-predict.R:59:3): recipe preprocessing is done to the `new_data` ──
  Error: `x` cannot be a vector.
  Backtrace:
       █
    1. ├─generics::fit(workflow, mtcars) test-predict.R:59:2
    2. └─workflows:::fit.workflow(workflow, mtcars)
    3.   └─workflows::.fit_model(workflow, control)
    4.     ├─generics::fit(action_model, workflow = workflow, control = control)
    5.     └─workflows:::fit.action_model(...)
    6.       └─workflows:::fit_from_xy(spec, mold, control_parsnip)
    7.         ├─generics::fit_xy(...)
    8.         └─parsnip::fit_xy.model_spec(...)
    9.           └─parsnip:::xy_form(...)
   10.             └─parsnip::.convert_xy_to_form_fit(...)
  ── Error (test-predict.R:89:3): `new_data` must have all of the original predictors ──
  Error: `x` cannot be a vector.
  Backtrace:
       █
    1. ├─generics::fit(workflow, mtcars) test-predict.R:89:2
    2. └─workflows:::fit.workflow(workflow, mtcars)
    3.   └─workflows::.fit_model(workflow, control)
    4.     ├─generics::fit(action_model, workflow = workflow, control = control)
    5.     └─workflows:::fit.action_model(...)
    6.       └─workflows:::fit_from_xy(spec, mold, control_parsnip)
    7.         ├─generics::fit_xy(...)
    8.         └─parsnip::fit_xy.model_spec(...)
    9.           └─parsnip:::xy_form(...)
   10.             └─parsnip::.convert_xy_to_form_fit(...)
  ── Error (test-predict.R:119:3): blueprint will get passed on to hardhat::forge() ──
  Error: `x` cannot be a vector.
  Backtrace:
       █
    1. ├─generics::fit(workflow1, train) test-predict.R:119:2
    2. └─workflows:::fit.workflow(workflow1, train)
    3.   └─workflows::.fit_model(workflow, control)
    4.     ├─generics::fit(action_model, workflow = workflow, control = control)
    5.     └─workflows:::fit.action_model(...)
    6.       └─workflows:::fit_from_xy(spec, mold, control_parsnip)
    7.         ├─generics::fit_xy(...)
    8.         └─parsnip::fit_xy.model_spec(...)
    9.           └─parsnip:::xy_form(...)
   10.             └─parsnip::.convert_xy_to_form_fit(...)
  ── Error (test-printing.R:40:3): can print workflow with fit model ─────────────
  `fit(workflow, mtcars)` threw an unexpected error.
  Message: `x` cannot be a vector.
  Class:   rlang_error/error/condition
  Backtrace:
       █
    1. ├─generics::fit(workflow, mtcars)
    2. └─workflows:::fit.workflow(workflow, mtcars)
    3.   └─workflows::.fit_model(workflow, control)
    4.     ├─generics::fit(action_model, workflow = workflow, control = control)
    5.     └─workflows:::fit.action_model(...)
    6.       └─workflows:::fit_from_xy(spec, mold, control_parsnip)
    7.         ├─generics::fit_xy(...)
    8.         └─parsnip::fit_xy.model_spec(...)
    9.           └─parsnip:::xy_form(...)
   10.             └─parsnip::.convert_xy_to_form_fit(...)
  ── Error (test-pull.R:126:3): can pull a model fit ─────────────────────────────
  Error: `x` cannot be a vector.
  Backtrace:
       █
    1. ├─generics::fit(workflow, mtcars) test-pull.R:126:2
    2. └─workflows:::fit.workflow(workflow, mtcars)
    3.   └─workflows::.fit_model(workflow, control)
    4.     ├─generics::fit(action_model, workflow = workflow, control = control)
    5.     └─workflows:::fit.action_model(...)
    6.       └─workflows:::fit_from_xy(spec, mold, control_parsnip)
    7.         ├─generics::fit_xy(...)
    8.         └─parsnip::fit_xy.model_spec(...)
    9.           └─parsnip:::xy_form(...)
   10.             └─parsnip::.convert_xy_to_form_fit(...)
  ── Error (test-pull.R:160:3): `pull_workflow_fit()` is soft-deprecated ─────────
  Error: `x` cannot be a vector.
  Backtrace:
       █
    1. ├─generics::fit(workflow, mtcars) test-pull.R:160:2
    2. └─workflows:::fit.workflow(workflow, mtcars)
    3.   └─workflows::.fit_model(workflow, control)
    4.     ├─generics::fit(action_model, workflow = workflow, control = control)
    5.     └─workflows:::fit.action_model(...)
    6.       └─workflows:::fit_from_xy(spec, mold, control_parsnip)
    7.         ├─generics::fit_xy(...)
    8.         └─parsnip::fit_xy.model_spec(...)
    9.           └─parsnip:::xy_form(...)
   10.             └─parsnip::.convert_xy_to_form_fit(...)
  ── Error (test-pull.R:178:3): can pull a mold ──────────────────────────────────
  Error: `x` cannot be a vector.
  Backtrace:
       █
    1. ├─generics::fit(workflow, mtcars) test-pull.R:178:2
    2. └─workflows:::fit.workflow(workflow, mtcars)
    3.   └─workflows::.fit_model(workflow, control)
    4.     ├─generics::fit(action_model, workflow = workflow, control = control)
    5.     └─workflows:::fit.action_model(...)
    6.       └─workflows:::fit_from_xy(spec, mold, control_parsnip)
    7.         ├─generics::fit_xy(...)
    8.         └─parsnip::fit_xy.model_spec(...)
    9.           └─parsnip:::xy_form(...)
   10.             └─parsnip::.convert_xy_to_form_fit(...)
  ── Error (test-pull.R:214:3): `pull_workflow_mold()` is soft-deprecated ────────
  Error: `x` cannot be a vector.
  Backtrace:
       █
    1. ├─generics::fit(workflow, mtcars) test-pull.R:214:2
    2. └─workflows:::fit.workflow(workflow, mtcars)
    3.   └─workflows::.fit_model(workflow, control)
    4.     ├─generics::fit(action_model, workflow = workflow, control = control)
    5.     └─workflows:::fit.action_model(...)
    6.       └─workflows:::fit_from_xy(spec, mold, control_parsnip)
    7.         ├─generics::fit_xy(...)
    8.         └─parsnip::fit_xy.model_spec(...)
    9.           └─parsnip:::xy_form(...)
   10.             └─parsnip::.convert_xy_to_form_fit(...)
  ── Error (test-pull.R:234:3): can pull a prepped recipe ────────────────────────
  Error: `x` cannot be a vector.
  Backtrace:
       █
    1. ├─generics::fit(workflow, mtcars) test-pull.R:234:2
    2. └─workflows:::fit.workflow(workflow, mtcars)
    3.   └─workflows::.fit_model(workflow, control)
    4.     ├─generics::fit(action_model, workflow = workflow, control = control)
    5.     └─workflows:::fit.action_model(...)
    6.       └─workflows:::fit_from_xy(spec, mold, control_parsnip)
    7.         ├─generics::fit_xy(...)
    8.         └─parsnip::fit_xy.model_spec(...)
    9.           └─parsnip:::xy_form(...)
   10.             └─parsnip::.convert_xy_to_form_fit(...)
  ── Error (test-pull.R:286:3): `pull_workflow_prepped_recipe()` is soft-deprecated ──
  Error: `x` cannot be a vector.
  Backtrace:
       █
    1. ├─generics::fit(workflow, mtcars) test-pull.R:286:2
    2. └─workflows:::fit.workflow(workflow, mtcars)
    3.   └─workflows::.fit_model(workflow, control)
    4.     ├─generics::fit(action_model, workflow = workflow, control = control)
    5.     └─workflows:::fit.action_model(...)
    6.       └─workflows:::fit_from_xy(spec, mold, control_parsnip)
    7.         ├─generics::fit_xy(...)
    8.         └─parsnip::fit_xy.model_spec(...)
    9.           └─parsnip:::xy_form(...)
   10.             └─parsnip::.convert_xy_to_form_fit(...)
  ── Error (test-workflow.R:84:3): can check if a workflow is trained ────────────
  Error: `x` cannot be a vector.
  Backtrace:
       █
    1. ├─generics::fit(wf, mtcars) test-workflow.R:84:2
    2. └─workflows:::fit.workflow(wf, mtcars)
    3.   └─workflows::.fit_model(workflow, control)
    4.     ├─generics::fit(action_model, workflow = workflow, control = control)
    5.     └─workflows:::fit.action_model(...)
    6.       └─workflows:::fit_from_xy(spec, mold, control_parsnip)
    7.         ├─generics::fit_xy(...)
    8.         └─parsnip::fit_xy.model_spec(...)
    9.           └─parsnip:::xy_form(...)
   10.             └─parsnip::.convert_xy_to_form_fit(...)
  
  [ FAIL 46 | WARN 0 | SKIP 19 | PASS 124 ]
  Error: Test failures
  Execution halted