Running ‘testthat.R’ [18s/22s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(hardhat)
  > 
  > test_check("hardhat")
  [ FAIL 46 | WARN 0 | SKIP 66 | PASS 496 ]
  
  ══ Skipped tests (66) ══════════════════════════════════════════════════════════
  • On CRAN (66): 'test-blueprint-recipe.R:2:3', 'test-case-weights.R:13:3',
    'test-case-weights.R:32:3', 'test-case-weights.R:57:3',
    'test-case-weights.R:72:3', 'test-case-weights.R:85:3',
    'test-case-weights.R:93:3', 'test-case-weights.R:112:3',
    'test-case-weights.R:182:3', 'test-constructor.R:2:3',
    'test-constructor.R:40:3', 'test-delete-response.R:35:3',
    'test-encoding.R:66:3', 'test-encoding.R:72:3', 'test-forge-formula.R:257:3',
    'test-forge-formula.R:288:3', 'test-forge-formula.R:389:3',
    'test-forge-formula.R:469:3', 'test-forge-formula.R:571:3',
    'test-forge-formula.R:601:3', 'test-forge-formula.R:637:3',
    'test-forge-formula.R:705:3', 'test-forge-formula.R:734:3',
    'test-forge-formula.R:758:3', 'test-forge-formula.R:951:3',
    'test-forge-xy.R:205:3', 'test-forge-xy.R:231:3', 'test-forge-xy.R:289:3',
    'test-forge.R:5:3', 'test-intercept.R:16:3', 'test-intercept.R:33:3',
    'test-mold-formula.R:118:3', 'test-mold-formula.R:172:3',
    'test-mold-formula.R:368:3', 'test-mold-formula.R:386:3',
    'test-mold-formula.R:486:3', 'test-mold-formula.R:693:3',
    'test-mold-xy.R:2:3', 'test-mold-xy.R:49:3', 'test-mold.R:5:3',
    'test-print.R:2:3', 'test-print.R:9:3', 'test-recompose.R:40:3',
    'test-recompose.R:50:3', 'test-recompose.R:56:3', 'test-recompose.R:62:3',
    'test-recompose.R:68:3', 'test-scream.R:15:3', 'test-scream.R:37:3',
    'test-shrink.R:13:3', 'test-spruce.R:83:3', 'test-spruce.R:95:3',
    'test-standardize.R:24:3', 'test-standardize.R:40:3',
    'test-standardize.R:68:3', 'test-table.R:146:3', 'test-table.R:156:3',
    'test-table.R:161:3', 'test-table.R:169:3', 'test-table.R:177:3',
    'test-table.R:188:3', 'test-use.R:2:3', 'test-use.R:29:3', 'test-use.R:57:3',
    'test-use.R:61:3', 'test-use.R:65:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-forge-recipe.R:5:3'): simple forge works ───────────────────────
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'recipes'
  Backtrace:
      ▆
   1. └─base::loadNamespace(x) at test-forge-recipe.R:5:3
   2.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   3.     └─base (local) withOneRestart(expr, restarts[[1L]])
   4.       └─base (local) doWithOneRestart(return(expr), restart)
  ── Error ('test-forge-recipe.R:59:3'): asking for the outcome works ────────────
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'recipes'
  Backtrace:
      ▆
   1. └─base::loadNamespace(x) at test-forge-recipe.R:59:3
   2.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   3.     └─base (local) withOneRestart(expr, restarts[[1L]])
   4.       └─base (local) doWithOneRestart(return(expr), restart)
  ── Error ('test-forge-recipe.R:86:3'): asking for the outcome when it isn't there fails ──
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'recipes'
  Backtrace:
      ▆
   1. └─base::loadNamespace(x) at test-forge-recipe.R:86:3
   2.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   3.     └─base (local) withOneRestart(expr, restarts[[1L]])
   4.       └─base (local) doWithOneRestart(return(expr), restart)
  ── Error ('test-forge-recipe.R:106:3'): outcomes steps get processed ───────────
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'recipes'
  Backtrace:
      ▆
   1. └─base::loadNamespace(x) at test-forge-recipe.R:106:3
   2.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   3.     └─base (local) withOneRestart(expr, restarts[[1L]])
   4.       └─base (local) doWithOneRestart(return(expr), restart)
  ── Error ('test-forge-recipe.R:126:3'): missing predictor columns fail appropriately ──
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'recipes'
  Backtrace:
      ▆
   1. ├─hardhat::mold(...) at test-forge-recipe.R:126:3
   2. └─base::loadNamespace(x)
   3.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   4.     └─base (local) withOneRestart(expr, restarts[[1L]])
   5.       └─base (local) doWithOneRestart(return(expr), restart)
  ── Error ('test-forge-recipe.R:155:3'): novel predictor levels are caught ──────
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'recipes'
  Backtrace:
      ▆
   1. ├─hardhat::mold(recipes::recipe(y ~ f, dat), dat) at test-forge-recipe.R:155:3
   2. └─base::loadNamespace(x)
   3.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   4.     └─base (local) withOneRestart(expr, restarts[[1L]])
   5.       └─base (local) doWithOneRestart(return(expr), restart)
  ── Error ('test-forge-recipe.R:190:3'): novel predictor levels can be ignored and handled by recipes ──
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'recipes'
  Backtrace:
      ▆
   1. └─base::loadNamespace(x) at test-forge-recipe.R:190:3
   2.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   3.     └─base (local) withOneRestart(expr, restarts[[1L]])
   4.       └─base (local) doWithOneRestart(return(expr), restart)
  ── Error ('test-forge-recipe.R:245:3'): novel predictor levels without any data are silently removed ──
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'recipes'
  Backtrace:
      ▆
   1. └─base::loadNamespace(x) at test-forge-recipe.R:245:3
   2.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   3.     └─base (local) withOneRestart(expr, restarts[[1L]])
   4.       └─base (local) doWithOneRestart(return(expr), restart)
  ── Error ('test-forge-recipe.R:283:3'): novel outcome levels are caught ────────
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'recipes'
  Backtrace:
      ▆
   1. └─base::loadNamespace(x) at test-forge-recipe.R:283:3
   2.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   3.     └─base (local) withOneRestart(expr, restarts[[1L]])
   4.       └─base (local) doWithOneRestart(return(expr), restart)
  ── Error ('test-forge-recipe.R:310:3'): original predictor and outcome classes / names are recorded ──
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'recipes'
  Backtrace:
      ▆
   1. └─base::loadNamespace(x) at test-forge-recipe.R:310:3
   2.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   3.     └─base (local) withOneRestart(expr, restarts[[1L]])
   4.       └─base (local) doWithOneRestart(return(expr), restart)
  ── Error ('test-forge-recipe.R:357:3'): new data classes are caught ────────────
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'recipes'
  Backtrace:
      ▆
   1. └─base::loadNamespace(x) at test-forge-recipe.R:357:3
   2.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   3.     └─base (local) withOneRestart(expr, restarts[[1L]])
   4.       └─base (local) doWithOneRestart(return(expr), restart)
  ── Error ('test-forge-recipe.R:408:3'): new data classes can interchange integer/numeric ──
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'recipes'
  Backtrace:
      ▆
   1. ├─hardhat::mold(...) at test-forge-recipe.R:408:3
   2. └─base::loadNamespace(x)
   3.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   4.     └─base (local) withOneRestart(expr, restarts[[1L]])
   5.       └─base (local) doWithOneRestart(return(expr), restart)
  ── Error ('test-forge-recipe.R:436:3'): an `extras` slot exists for `roles` ────
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'recipes'
  Backtrace:
      ▆
   1. └─base::loadNamespace(x) at test-forge-recipe.R:436:3
   2.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   3.     └─base (local) withOneRestart(expr, restarts[[1L]])
   4.       └─base (local) doWithOneRestart(return(expr), restart)
  ── Error ('test-forge-recipe.R:457:3'): non-standard roles generated in the recipe are returned by both `mold()` and `forge()` ──
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'recipes'
  Backtrace:
      ▆
   1. └─base::loadNamespace(x) at test-forge-recipe.R:457:3
   2.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   3.     └─base (local) withOneRestart(expr, restarts[[1L]])
   4.       └─base (local) doWithOneRestart(return(expr), restart)
  ── Error ('test-forge-recipe.R:481:3'): `forge()` returns a slot for non standard roles that aren't required at `bake()` time ──
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'recipes'
  Backtrace:
      ▆
   1. └─base::loadNamespace(x) at test-forge-recipe.R:481:3
   2.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   3.     └─base (local) withOneRestart(expr, restarts[[1L]])
   4.       └─base (local) doWithOneRestart(return(expr), restart)
  ── Error ('test-forge-recipe.R:515:3'): required non standard roles can be dropped during the baking process ──
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'recipes'
  Backtrace:
      ▆
   1. └─base::loadNamespace(x) at test-forge-recipe.R:515:3
   2.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   3.     └─base (local) withOneRestart(expr, restarts[[1L]])
   4.       └─base (local) doWithOneRestart(return(expr), restart)
  ── Error ('test-forge-recipe.R:546:3'): `forge()` will error if required non standard roles are missing ──
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'recipes'
  Backtrace:
      ▆
   1. └─base::loadNamespace(x) at test-forge-recipe.R:546:3
   2.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   3.     └─base (local) withOneRestart(expr, restarts[[1L]])
   4.       └─base (local) doWithOneRestart(return(expr), restart)
  ── Error ('test-forge-recipe.R:559:3'): recipes will error if the role is declared as not required, but really was ──
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'recipes'
  Backtrace:
      ▆
   1. └─base::loadNamespace(x) at test-forge-recipe.R:559:3
   2.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   3.     └─base (local) withOneRestart(expr, restarts[[1L]])
   4.       └─base (local) doWithOneRestart(return(expr), restart)
  ── Error ('test-forge-recipe.R:572:3'): `NA` roles are treated as extra roles that are required at `forge()` time ──
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'recipes'
  Backtrace:
      ▆
   1. └─base::loadNamespace(x) at test-forge-recipe.R:572:3
   2.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   3.     └─base (local) withOneRestart(expr, restarts[[1L]])
   4.       └─base (local) doWithOneRestart(return(expr), restart)
  ── Error ('test-forge-recipe.R:596:3'): `NA` roles can be declared as not required at `forge()` time ──
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'recipes'
  Backtrace:
      ▆
   1. └─base::loadNamespace(x) at test-forge-recipe.R:596:3
   2.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   3.     └─base (local) withOneRestart(expr, restarts[[1L]])
   4.       └─base (local) doWithOneRestart(return(expr), restart)
  ── Error ('test-forge-recipe.R:619:3'): `extras` only hold roles that actually exist in the data ──
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'recipes'
  Backtrace:
      ▆
   1. └─base::loadNamespace(x) at test-forge-recipe.R:619:3
   2.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   3.     └─base (local) withOneRestart(expr, restarts[[1L]])
   4.       └─base (local) doWithOneRestart(return(expr), restart)
  ── Error ('test-forge-recipe.R:632:3'): Missing y value still returns `NULL` if no outcomes are asked for ──
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'recipes'
  Backtrace:
      ▆
   1. └─base::loadNamespace(x) at test-forge-recipe.R:632:3
   2.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   3.     └─base (local) withOneRestart(expr, restarts[[1L]])
   4.       └─base (local) doWithOneRestart(return(expr), restart)
  ── Error ('test-forge-recipe.R:641:3'): Missing y value returns 0 column tibble if outcomes are asked for ──
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'recipes'
  Backtrace:
      ▆
   1. └─base::loadNamespace(x) at test-forge-recipe.R:641:3
   2.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   3.     └─base (local) withOneRestart(expr, restarts[[1L]])
   4.       └─base (local) doWithOneRestart(return(expr), restart)
  ── Error ('test-forge-recipe.R:655:3'): Predictors with multiple roles are only included once before baking (#120) ──
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'recipes'
  Backtrace:
      ▆
   1. └─base::loadNamespace(x) at test-forge-recipe.R:655:3
   2.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   3.     └─base (local) withOneRestart(expr, restarts[[1L]])
   4.       └─base (local) doWithOneRestart(return(expr), restart)
  ── Error ('test-forge-recipe.R:677:3'): `strings_as_factors` is used at `bake()` time ──
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'recipes'
  Backtrace:
      ▆
   1. └─base::loadNamespace(x) at test-forge-recipe.R:677:3
   2.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   3.     └─base (local) withOneRestart(expr, restarts[[1L]])
   4.       └─base (local) doWithOneRestart(return(expr), restart)
  ── Error ('test-forge-recipe.R:698:3'): `forge()` is compatible with hardhat 0.2.0 molded blueprints with a basic recipe ──
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'recipes'
  Backtrace:
      ▆
   1. ├─hardhat::forge(new_data, blueprint) at test-forge-recipe.R:698:3
   2. ├─hardhat:::forge.data.frame(new_data, blueprint)
   3. │ ├─hardhat::run_forge(blueprint, new_data = new_data, outcomes = outcomes)
   4. │ └─hardhat:::run_forge.default_recipe_blueprint(...)
   5. │   └─hardhat:::forge_recipe_default_process(...)
   6. └─base::loadNamespace(x)
   7.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   8.     └─base (local) withOneRestart(expr, restarts[[1L]])
   9.       └─base (local) doWithOneRestart(return(expr), restart)
  ── Error ('test-forge-recipe.R:719:3'): `forge()` is compatible with hardhat 0.2.0 molded blueprints with a recipe with a nonstandard role ──
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'recipes'
  Backtrace:
      ▆
   1. ├─hardhat::forge(new_data, blueprint) at test-forge-recipe.R:719:3
   2. ├─hardhat:::forge.data.frame(new_data, blueprint)
   3. │ ├─hardhat::run_forge(blueprint, new_data = new_data, outcomes = outcomes)
   4. │ └─hardhat:::run_forge.default_recipe_blueprint(...)
   5. │   └─hardhat:::forge_recipe_default_process(...)
   6. └─base::loadNamespace(x)
   7.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   8.     └─base (local) withOneRestart(expr, restarts[[1L]])
   9.       └─base (local) doWithOneRestart(return(expr), restart)
  ── Error ('test-mold-recipe.R:5:3'): can mold recipes ──────────────────────────
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'recipes'
  Backtrace:
      ▆
   1. └─base::loadNamespace(x) at test-mold-recipe.R:5:3
   2.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   3.     └─base (local) withOneRestart(expr, restarts[[1L]])
   4.       └─base (local) doWithOneRestart(return(expr), restart)
  ── Error ('test-mold-recipe.R:29:3'): can mold recipes with intercepts ─────────
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'recipes'
  Backtrace:
      ▆
   1. └─base::loadNamespace(x) at test-mold-recipe.R:29:3
   2.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   3.     └─base (local) withOneRestart(expr, restarts[[1L]])
   4.       └─base (local) doWithOneRestart(return(expr), restart)
  ── Error ('test-mold-recipe.R:61:3'): can pass `fresh` through to `prep()` ─────
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'recipes'
  Backtrace:
      ▆
   1. └─base::loadNamespace(x) at test-mold-recipe.R:61:3
   2.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   3.     └─base (local) withOneRestart(expr, restarts[[1L]])
   4.       └─base (local) doWithOneRestart(return(expr), restart)
  ── Error ('test-mold-recipe.R:93:3'): `fresh` defaults to `TRUE` ───────────────
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'recipes'
  Backtrace:
      ▆
   1. └─base::loadNamespace(x) at test-mold-recipe.R:93:3
   2.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   3.     └─base (local) withOneRestart(expr, restarts[[1L]])
   4.       └─base (local) doWithOneRestart(return(expr), restart)
  ── Error ('test-mold-recipe.R:113:3'): can pass `strings_as_factors` through to `prep()` ──
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'recipes'
  Backtrace:
      ▆
   1. └─base::loadNamespace(x) at test-mold-recipe.R:113:3
   2.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   3.     └─base (local) withOneRestart(expr, restarts[[1L]])
   4.       └─base (local) doWithOneRestart(return(expr), restart)
  ── Error ('test-mold-recipe.R:124:3'): `data` is validated ─────────────────────
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'recipes'
  Backtrace:
       ▆
    1. ├─testthat::expect_error(...) at test-mold-recipe.R:124:3
    2. │ └─testthat:::expect_condition_matching(...)
    3. │   └─testthat:::quasi_capture(...)
    4. │     ├─testthat (local) .capture(...)
    5. │     │ └─base::withCallingHandlers(...)
    6. │     └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    7. ├─hardhat::mold(...)
    8. └─base::loadNamespace(x)
    9.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   10.     └─base (local) withOneRestart(expr, restarts[[1L]])
   11.       └─base (local) doWithOneRestart(return(expr), restart)
  ── Error ('test-mold-recipe.R:134:3'): `extras` holds a slot for `roles` ───────
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'recipes'
  Backtrace:
      ▆
   1. └─base::loadNamespace(x) at test-mold-recipe.R:134:3
   2.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   3.     └─base (local) withOneRestart(expr, restarts[[1L]])
   4.       └─base (local) doWithOneRestart(return(expr), restart)
  ── Error ('test-mold-recipe.R:149:3'): non-standard roles ptypes are stored by default ──
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'recipes'
  Backtrace:
      ▆
   1. └─base::loadNamespace(x) at test-mold-recipe.R:149:3
   2.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   3.     └─base (local) withOneRestart(expr, restarts[[1L]])
   4.       └─base (local) doWithOneRestart(return(expr), restart)
  ── Error ('test-mold-recipe.R:168:3'): case weights is not considered a required extra role by default ──
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'recipes'
  Backtrace:
      ▆
   1. └─base::loadNamespace(x) at test-mold-recipe.R:168:3
   2.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   3.     └─base (local) withOneRestart(expr, restarts[[1L]])
   4.       └─base (local) doWithOneRestart(return(expr), restart)
  ── Error ('test-mold-recipe.R:191:3'): case weights can be updated to be a required extra role ──
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'recipes'
  Backtrace:
      ▆
   1. └─base::loadNamespace(x) at test-mold-recipe.R:191:3
   2.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   3.     └─base (local) withOneRestart(expr, restarts[[1L]])
   4.       └─base (local) doWithOneRestart(return(expr), restart)
  ── Error ('test-mold-recipe.R:220:3'): only original non-standard columns are in the extra roles ptype ──
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'recipes'
  Backtrace:
      ▆
   1. └─base::loadNamespace(x) at test-mold-recipe.R:220:3
   2.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   3.     └─base (local) withOneRestart(expr, restarts[[1L]])
   4.       └─base (local) doWithOneRestart(return(expr), restart)
  ── Error ('test-mold-recipe.R:251:3'): `extra_role_ptypes` and `extras` only hold roles that actually exist in the data ──
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'recipes'
  Backtrace:
      ▆
   1. └─base::loadNamespace(x) at test-mold-recipe.R:251:3
   2.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   3.     └─base (local) withOneRestart(expr, restarts[[1L]])
   4.       └─base (local) doWithOneRestart(return(expr), restart)
  ── Error ('test-mold-recipe.R:265:3'): multiple extra roles types can be stored ──
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'recipes'
  Backtrace:
      ▆
   1. └─base::loadNamespace(x) at test-mold-recipe.R:265:3
   2.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   3.     └─base (local) withOneRestart(expr, restarts[[1L]])
   4.       └─base (local) doWithOneRestart(return(expr), restart)
  ── Error ('test-mold-recipe.R:296:3'): `NA` roles are treated as extra roles ───
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'recipes'
  Backtrace:
      ▆
   1. └─base::loadNamespace(x) at test-mold-recipe.R:296:3
   2.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   3.     └─base (local) withOneRestart(expr, restarts[[1L]])
   4.       └─base (local) doWithOneRestart(return(expr), restart)
  ── Error ('test-mold-recipe.R:378:3'): roles that aren't required are not retained as `extra_role_ptypes`, but are in the mold result ──
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'recipes'
  Backtrace:
      ▆
   1. └─base::loadNamespace(x) at test-mold-recipe.R:378:3
   2.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   3.     └─base (local) withOneRestart(expr, restarts[[1L]])
   4.       └─base (local) doWithOneRestart(return(expr), restart)
  ── Error ('test-mold-recipe.R:402:3'): Missing y value returns a 0 column tibble for `outcomes` ──
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'recipes'
  Backtrace:
      ▆
   1. └─base::loadNamespace(x) at test-mold-recipe.R:402:3
   2.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   3.     └─base (local) withOneRestart(expr, restarts[[1L]])
   4.       └─base (local) doWithOneRestart(return(expr), restart)
  ── Error ('test-mold-recipe.R:413:3'): Missing y value returns a 0 column / 0 row tibble for `ptype` ──
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'recipes'
  Backtrace:
      ▆
   1. └─base::loadNamespace(x) at test-mold-recipe.R:413:3
   2.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   3.     └─base (local) withOneRestart(expr, restarts[[1L]])
   4.       └─base (local) doWithOneRestart(return(expr), restart)
  ── Error ('test-mold-recipe.R:427:3'): `mold()` is compatible with hardhat 0.2.0 blueprints ──
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'recipes'
  Backtrace:
      ▆
   1. └─base::loadNamespace(x) at test-mold-recipe.R:427:3
   2.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   3.     └─base (local) withOneRestart(expr, restarts[[1L]])
   4.       └─base (local) doWithOneRestart(return(expr), restart)
  ── Error ('test-print.R:15:3'): print - recipe ─────────────────────────────────
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'recipes'
  Backtrace:
      ▆
   1. └─testthat::expect_snapshot(...) at test-print.R:15:3
   2.   └─rlang::cnd_signal(state$error)
  
  [ FAIL 46 | WARN 0 | SKIP 66 | PASS 496 ]
  Error: Test failures
  Execution halted