Running ‘testthat.R’ [14s/21s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(workflows)
  > 
  > test_check("workflows")
  [ FAIL 41 | WARN 0 | SKIP 61 | PASS 110 ]
  
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • On CRAN (55)
  • broom cannot be loaded (5)
  • recipes cannot be loaded (1)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-butcher.R:81:3): axing the env - recipe ─────────────────────────
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'recipes'
  Backtrace:
      ▆
   1. └─base::loadNamespace(x) at test-butcher.R:81:2
   2.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   3.     └─base withOneRestart(expr, restarts[[1L]])
   4.       └─base doWithOneRestart(return(expr), restart)
  ── Error (test-butcher.R:144:3): can still predict after butcher - recipe ──────
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'recipes'
  Backtrace:
      ▆
   1. └─base::loadNamespace(x) at test-butcher.R:144:2
   2.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   3.     └─base withOneRestart(expr, restarts[[1L]])
   4.       └─base doWithOneRestart(return(expr), restart)
  ── Error (test-extract.R:17:3): can extract a recipe preprocessor ──────────────
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'recipes'
  Backtrace:
      ▆
   1. └─base::loadNamespace(x) at test-extract.R:17:2
   2.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   3.     └─base withOneRestart(expr, restarts[[1L]])
   4.       └─base doWithOneRestart(return(expr), restart)
  ── Error (test-extract.R:153:3): can extract a prepped recipe ──────────────────
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'recipes'
  Backtrace:
      ▆
   1. └─base::loadNamespace(x) at test-extract.R:153:2
   2.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   3.     └─base withOneRestart(expr, restarts[[1L]])
   4.       └─base doWithOneRestart(return(expr), restart)
  ── Error (test-extract.R:177:3): error if no mold ──────────────────────────────
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'recipes'
  Backtrace:
      ▆
   1. └─base::loadNamespace(x) at test-extract.R:177:2
   2.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   3.     └─base withOneRestart(expr, restarts[[1L]])
   4.       └─base doWithOneRestart(return(expr), restart)
  ── Error (test-extract.R:195:3): extract parameter set from workflow with tunable recipe ──
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'recipes'
  Backtrace:
      ▆
   1. ├─... %>% ... at test-extract.R:195:2
   2. └─base::loadNamespace(x)
   3.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   4.     └─base withOneRestart(expr, restarts[[1L]])
   5.       └─base doWithOneRestart(return(expr), restart)
  ── Error (test-extract.R:218:3): extract parameter set from workflow with tunable model ──
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'recipes'
  Backtrace:
      ▆
   1. ├─recipes::recipe(ridership ~ ., data = head(Chicago)) %>% ... at test-extract.R:218:2
   2. └─base::loadNamespace(x)
   3.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   4.     └─base withOneRestart(expr, restarts[[1L]])
   5.       └─base doWithOneRestart(return(expr), restart)
  ── Error (test-extract.R:234:3): extract parameter set from workflow with tunable recipe and model ──
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'recipes'
  Backtrace:
      ▆
   1. ├─... %>% ... at test-extract.R:234:2
   2. └─base::loadNamespace(x)
   3.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   4.     └─base withOneRestart(expr, restarts[[1L]])
   5.       └─base doWithOneRestart(return(expr), restart)
  ── Error (test-extract.R:265:3): extract single parameter from workflow with tunable recipe ──
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'recipes'
  Backtrace:
      ▆
   1. ├─... %>% ... at test-extract.R:265:2
   2. └─base::loadNamespace(x)
   3.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   4.     └─base withOneRestart(expr, restarts[[1L]])
   5.       └─base doWithOneRestart(return(expr), restart)
  ── Error (test-extract.R:301:3): extract single parameter from workflow with tunable model ──
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'recipes'
  Backtrace:
      ▆
   1. ├─recipes::recipe(ridership ~ ., data = head(Chicago)) %>% ... at test-extract.R:301:2
   2. └─base::loadNamespace(x)
   3.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   4.     └─base withOneRestart(expr, restarts[[1L]])
   5.       └─base doWithOneRestart(return(expr), restart)
  ── Error (test-extract.R:321:3): extract single parameter from workflow with tunable recipe and model ──
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'recipes'
  Backtrace:
      ▆
   1. ├─... %>% ... at test-extract.R:321:2
   2. └─base::loadNamespace(x)
   3.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   4.     └─base withOneRestart(expr, restarts[[1L]])
   5.       └─base doWithOneRestart(return(expr), restart)
  ── Error (test-fit-action-model.R:27:3): can provide a model formula override ──
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'recipes'
  Backtrace:
      ▆
   1. └─base::loadNamespace(x) at test-fit-action-model.R:27:2
   2.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   3.     └─base withOneRestart(expr, restarts[[1L]])
   4.       └─base doWithOneRestart(return(expr), restart)
  ── Error (test-fit.R:4:3): can `fit()` a workflow with a recipe ────────────────
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'recipes'
  Backtrace:
      ▆
   1. └─base::loadNamespace(x) at test-fit.R:4:2
   2.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   3.     └─base withOneRestart(expr, restarts[[1L]])
   4.       └─base doWithOneRestart(return(expr), restart)
  ── Error (test-fit.R:124:3): `.fit_pre()` ignores parsnip's encoding info with recipes ──
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'recipes'
  Backtrace:
      ▆
   1. └─base::loadNamespace(x) at test-fit.R:124:2
   2.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   3.     └─base withOneRestart(expr, restarts[[1L]])
   4.       └─base doWithOneRestart(return(expr), restart)
  ── Error (test-fit.R:161:3): `.fit_pre()` doesn't modify user supplied recipe blueprint ──
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'recipes'
  Backtrace:
      ▆
   1. └─base::loadNamespace(x) at test-fit.R:161:2
   2.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   3.     └─base withOneRestart(expr, restarts[[1L]])
   4.       └─base doWithOneRestart(return(expr), restart)
  ── Error (test-pre-action-formula.R:13:3): cannot add a formula if a recipe already exists ──
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'recipes'
  Backtrace:
      ▆
   1. └─base::loadNamespace(x) at test-pre-action-formula.R:13:2
   2.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   3.     └─base withOneRestart(expr, restarts[[1L]])
   4.       └─base doWithOneRestart(return(expr), restart)
  ── Error (test-pre-action-formula.R:124:3): can only use a 'formula_blueprint' blueprint ──
  Error in `validate_recipes_available()`: The `recipes` package must be available to use the recipe interface.
  Backtrace:
      ▆
   1. └─hardhat::default_recipe_blueprint() at test-pre-action-formula.R:124:2
   2.   └─hardhat::new_default_recipe_blueprint(...)
   3.     └─hardhat::new_recipe_blueprint(...)
   4.       └─hardhat:::validate_recipes_available()
   5.         └─rlang::abort("The `recipes` package must be available to use the recipe interface.")
  ── Error (test-pre-action-recipe.R:2:3): can add a recipe to a workflow ────────
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'recipes'
  Backtrace:
      ▆
   1. └─base::loadNamespace(x) at test-pre-action-recipe.R:2:2
   2.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   3.     └─base withOneRestart(expr, restarts[[1L]])
   4.       └─base doWithOneRestart(return(expr), restart)
  ── Error (test-pre-action-recipe.R:15:3): cannot add a recipe if a formula already exists ──
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'recipes'
  Backtrace:
      ▆
   1. └─base::loadNamespace(x) at test-pre-action-recipe.R:15:2
   2.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   3.     └─base withOneRestart(expr, restarts[[1L]])
   4.       └─base doWithOneRestart(return(expr), restart)
  ── Error (test-pre-action-recipe.R:24:3): cannot add a recipe if variables already exist ──
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'recipes'
  Backtrace:
      ▆
   1. └─base::loadNamespace(x) at test-pre-action-recipe.R:24:2
   2.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   3.     └─base withOneRestart(expr, restarts[[1L]])
   4.       └─base doWithOneRestart(return(expr), restart)
  ── Error (test-pre-action-recipe.R:33:3): remove a recipe ──────────────────────
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'recipes'
  Backtrace:
      ▆
   1. └─base::loadNamespace(x) at test-pre-action-recipe.R:33:2
   2.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   3.     └─base withOneRestart(expr, restarts[[1L]])
   4.       └─base doWithOneRestart(return(expr), restart)
  ── Error (test-pre-action-recipe.R:46:3): remove a recipe after model fit ──────
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'recipes'
  Backtrace:
      ▆
   1. └─base::loadNamespace(x) at test-pre-action-recipe.R:46:2
   2.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   3.     └─base withOneRestart(expr, restarts[[1L]])
   4.       └─base doWithOneRestart(return(expr), restart)
  ── Error (test-pre-action-recipe.R:60:3): update a recipe ──────────────────────
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'recipes'
  Backtrace:
      ▆
   1. └─base::loadNamespace(x) at test-pre-action-recipe.R:60:2
   2.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   3.     └─base withOneRestart(expr, restarts[[1L]])
   4.       └─base doWithOneRestart(return(expr), restart)
  ── Error (test-pre-action-recipe.R:71:3): update a recipe after model fit ──────
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'recipes'
  Backtrace:
      ▆
   1. └─base::loadNamespace(x) at test-pre-action-recipe.R:71:2
   2.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   3.     └─base withOneRestart(expr, restarts[[1L]])
   4.       └─base doWithOneRestart(return(expr), restart)
  ── Error (test-pre-action-recipe.R:93:3): recipe is prepped upon `fit()` ───────
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'recipes'
  Backtrace:
      ▆
   1. └─base::loadNamespace(x) at test-pre-action-recipe.R:93:2
   2.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   3.     └─base withOneRestart(expr, restarts[[1L]])
   4.       └─base doWithOneRestart(return(expr), restart)
  ── Error (test-pre-action-recipe.R:121:3): cannot add two recipe ───────────────
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'recipes'
  Backtrace:
      ▆
   1. └─base::loadNamespace(x) at test-pre-action-recipe.R:121:2
   2.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   3.     └─base withOneRestart(expr, restarts[[1L]])
   4.       └─base doWithOneRestart(return(expr), restart)
  ── Error (test-pre-action-recipe.R:130:3): can pass a blueprint through to hardhat::mold() ──
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'recipes'
  Backtrace:
      ▆
   1. └─base::loadNamespace(x) at test-pre-action-recipe.R:130:2
   2.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   3.     └─base withOneRestart(expr, restarts[[1L]])
   4.       └─base doWithOneRestart(return(expr), restart)
  ── Error (test-pre-action-recipe.R:149:3): can only use a 'recipe_blueprint' blueprint ──
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'recipes'
  Backtrace:
      ▆
   1. └─base::loadNamespace(x) at test-pre-action-recipe.R:149:2
   2.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   3.     └─base withOneRestart(expr, restarts[[1L]])
   4.       └─base doWithOneRestart(return(expr), restart)
  ── Error (test-pre-action-variables.R:22:3): cannot add variables if a recipe already exists ──
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'recipes'
  Backtrace:
      ▆
   1. └─base::loadNamespace(x) at test-pre-action-variables.R:22:2
   2.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   3.     └─base withOneRestart(expr, restarts[[1L]])
   4.       └─base doWithOneRestart(return(expr), restart)
  ── Error (test-pre-action-variables.R:250:3): can only use a 'xy_blueprint' blueprint ──
  Error in `validate_recipes_available()`: The `recipes` package must be available to use the recipe interface.
  Backtrace:
      ▆
   1. └─hardhat::default_recipe_blueprint() at test-pre-action-variables.R:250:2
   2.   └─hardhat::new_default_recipe_blueprint(...)
   3.     └─hardhat::new_recipe_blueprint(...)
   4.       └─hardhat:::validate_recipes_available()
   5.         └─rlang::abort("The `recipes` package must be available to use the recipe interface.")
  ── Error (test-predict.R:52:3): recipe preprocessing is done to the `new_data` ──
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'recipes'
  Backtrace:
      ▆
   1. └─base::loadNamespace(x) at test-predict.R:52:2
   2.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   3.     └─base withOneRestart(expr, restarts[[1L]])
   4.       └─base doWithOneRestart(return(expr), restart)
  ── Error (test-predict.R:82:3): `new_data` must have all of the original predictors ──
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'recipes'
  Backtrace:
      ▆
   1. └─base::loadNamespace(x) at test-predict.R:82:2
   2.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   3.     └─base withOneRestart(expr, restarts[[1L]])
   4.       └─base doWithOneRestart(return(expr), restart)
  ── Error (test-printing.R:6:3): can print workflow with recipe ─────────────────
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'recipes'
  Backtrace:
      ▆
   1. └─base::loadNamespace(x) at test-printing.R:6:2
   2.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   3.     └─base withOneRestart(expr, restarts[[1L]])
   4.       └─base doWithOneRestart(return(expr), restart)
  ── Error (test-printing.R:44:3): can print workflow with >10 recipe steps ──────
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'recipes'
  Backtrace:
      ▆
   1. └─base::loadNamespace(x) at test-printing.R:44:2
   2.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   3.     └─base withOneRestart(expr, restarts[[1L]])
   4.       └─base doWithOneRestart(return(expr), restart)
  ── Error (test-pull.R:19:3): can pull a recipe preprocessor ────────────────────
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'recipes'
  Backtrace:
      ▆
   1. └─base::loadNamespace(x) at test-pull.R:19:2
   2.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   3.     └─base withOneRestart(expr, restarts[[1L]])
   4.       └─base doWithOneRestart(return(expr), restart)
  ── Error (test-pull.R:204:3): can pull a prepped recipe ────────────────────────
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'recipes'
  Backtrace:
      ▆
   1. └─base::loadNamespace(x) at test-pull.R:204:2
   2.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   3.     └─base withOneRestart(expr, restarts[[1L]])
   4.       └─base doWithOneRestart(return(expr), restart)
  ── Error (test-pull.R:229:3): error if no mold ─────────────────────────────────
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'recipes'
  Backtrace:
      ▆
   1. └─base::loadNamespace(x) at test-pull.R:229:2
   2.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   3.     └─base withOneRestart(expr, restarts[[1L]])
   4.       └─base doWithOneRestart(return(expr), restart)
  ── Error (test-pull.R:247:3): `pull_workflow_prepped_recipe()` is soft-deprecated ──
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'recipes'
  Backtrace:
      ▆
   1. └─base::loadNamespace(x) at test-pull.R:247:2
   2.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   3.     └─base withOneRestart(expr, restarts[[1L]])
   4.       └─base doWithOneRestart(return(expr), restart)
  ── Error (test-workflow.R:23:3): workflow must be the first argument when adding actions ──
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'recipes'
  Backtrace:
      ▆
   1. └─base::loadNamespace(x) at test-workflow.R:23:2
   2.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   3.     └─base withOneRestart(expr, restarts[[1L]])
   4.       └─base doWithOneRestart(return(expr), restart)
  ── Error (test-workflow.R:39:3): can add a preprocessor directly to a workflow ──
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'recipes'
  Backtrace:
      ▆
   1. └─base::loadNamespace(x) at test-workflow.R:39:2
   2.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   3.     └─base withOneRestart(expr, restarts[[1L]])
   4.       └─base doWithOneRestart(return(expr), restart)
  ── Error (test-workflow.R:75:3): can check if a workflow is trained ────────────
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'recipes'
  Backtrace:
      ▆
   1. └─base::loadNamespace(x) at test-workflow.R:75:2
   2.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   3.     └─base withOneRestart(expr, restarts[[1L]])
   4.       └─base doWithOneRestart(return(expr), restart)
  
  [ FAIL 41 | WARN 0 | SKIP 61 | PASS 110 ]
  Error: Test failures
  Execution halted