Running ‘testthat.R’ [32s/61s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(workflows)
  > 
  > test_check("workflows")
  [ FAIL 6 | WARN 0 | SKIP 70 | PASS 155 ]
  
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • On CRAN (70)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-extract.R:208:3): extract parameter set from workflow with tunable recipe ──
  Error in `UseMethod("tunable")`: no applicable method for 'tunable' applied to an object of class "c('linear_reg', 'model_spec')"
  Backtrace:
      ▆
   1. ├─hardhat::extract_parameter_set_dials(wf_tunable_recipe) at test-extract.R:208:2
   2. └─workflows:::extract_parameter_set_dials.workflow(wf_tunable_recipe)
   3.   ├─hardhat::extract_parameter_set_dials(model)
   4.   └─parsnip:::extract_parameter_set_dials.model_spec(model)
   5.     └─generics::tunable(x)
  ── Error (test-extract.R:221:3): extract parameter set from workflow with tunable model ──
  Error in `UseMethod("tunable")`: no applicable method for 'tunable' applied to an object of class "c('boost_tree', 'model_spec')"
  Backtrace:
      ▆
   1. ├─hardhat::extract_parameter_set_dials(wf_tunable_model) at test-extract.R:221:2
   2. └─workflows:::extract_parameter_set_dials.workflow(wf_tunable_model)
   3.   ├─hardhat::extract_parameter_set_dials(model)
   4.   └─parsnip:::extract_parameter_set_dials.model_spec(model)
   5.     └─generics::tunable(x)
  ── Error (test-extract.R:244:3): extract parameter set from workflow with tunable recipe and model ──
  Error in `UseMethod("tunable")`: no applicable method for 'tunable' applied to an object of class "c('boost_tree', 'model_spec')"
  Backtrace:
      ▆
   1. ├─hardhat::extract_parameter_set_dials(wf_tunable) at test-extract.R:244:2
   2. └─workflows:::extract_parameter_set_dials.workflow(wf_tunable)
   3.   ├─hardhat::extract_parameter_set_dials(model)
   4.   └─parsnip:::extract_parameter_set_dials.model_spec(model)
   5.     └─generics::tunable(x)
  ── Error (test-extract.R:272:3): extract single parameter from workflow with tunable recipe ──
  Error in `UseMethod("tunable")`: no applicable method for 'tunable' applied to an object of class "c('linear_reg', 'model_spec')"
  Backtrace:
       ▆
    1. ├─testthat::expect_equal(...) at test-extract.R:272:2
    2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. ├─hardhat::extract_parameter_dials(wf_tunable_recipe, "imputation")
    5. └─workflows:::extract_parameter_dials.workflow(...)
    6.   ├─hardhat::extract_parameter_dials(...)
    7.   ├─hardhat::extract_parameter_set_dials(x)
    8.   └─workflows:::extract_parameter_set_dials.workflow(x)
    9.     ├─hardhat::extract_parameter_set_dials(model)
   10.     └─parsnip:::extract_parameter_set_dials.model_spec(model)
   11.       └─generics::tunable(x)
  ── Error (test-extract.R:298:3): extract single parameter from workflow with tunable model ──
  Error in `UseMethod("tunable")`: no applicable method for 'tunable' applied to an object of class "c('boost_tree', 'model_spec')"
  Backtrace:
       ▆
    1. ├─testthat::expect_equal(...) at test-extract.R:298:2
    2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. ├─hardhat::extract_parameter_dials(wf_tunable_model, parameter = "funky name \n")
    5. └─workflows:::extract_parameter_dials.workflow(...)
    6.   ├─hardhat::extract_parameter_dials(...)
    7.   ├─hardhat::extract_parameter_set_dials(x)
    8.   └─workflows:::extract_parameter_set_dials.workflow(x)
    9.     ├─hardhat::extract_parameter_set_dials(model)
   10.     └─parsnip:::extract_parameter_set_dials.model_spec(model)
   11.       └─generics::tunable(x)
  ── Error (test-extract.R:325:3): extract single parameter from workflow with tunable recipe and model ──
  Error in `UseMethod("tunable")`: no applicable method for 'tunable' applied to an object of class "c('boost_tree', 'model_spec')"
  Backtrace:
       ▆
    1. ├─testthat::expect_equal(...) at test-extract.R:325:2
    2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. ├─hardhat::extract_parameter_dials(wf_tunable, "imputation")
    5. └─workflows:::extract_parameter_dials.workflow(wf_tunable, "imputation")
    6.   ├─hardhat::extract_parameter_dials(...)
    7.   ├─hardhat::extract_parameter_set_dials(x)
    8.   └─workflows:::extract_parameter_set_dials.workflow(x)
    9.     ├─hardhat::extract_parameter_set_dials(model)
   10.     └─parsnip:::extract_parameter_set_dials.model_spec(model)
   11.       └─generics::tunable(x)
  
  [ FAIL 6 | WARN 0 | SKIP 70 | PASS 155 ]
  Error: Test failures
  Execution halted