Running 'helper-objects.R' [7s]
  Running 'spelling.R' [0s]
  Running 'testthat.R' [6s]
Running the tests in 'tests/helper-objects.R' failed.
Complete output:
  > library(tune)
  Registered S3 method overwritten by 'tune':
    method                   from   
    required_pkgs.model_spec parsnip
  > library(recipes)
  Loading required package: dplyr
  
  Attaching package: 'dplyr'
  
  The following objects are masked from 'package:stats':
  
      filter, lag
  
  The following objects are masked from 'package:base':
  
      intersect, setdiff, setequal, union
  
  
  Attaching package: 'recipes'
  
  The following object is masked from 'package:stats':
  
      step
  
  > library(parsnip)
  > library(rsample)
  > library(workflows)
  
  Attaching package: 'workflows'
  
  The following object is masked from 'package:tune':
  
      extract_recipe
  
  > library(dplyr)
  > library(tidyr)
  > library(kernlab)
  > library(dials)
  Loading required package: scales
  
  Attaching package: 'scales'
  
  The following object is masked from 'package:kernlab':
  
      alpha
  
  > library(yardstick)
  For binary classification, the first factor level is assumed to be the event.
  Use the argument `event_level = "second"` to alter this as needed.
  > 
  > data("Chicago", package = "dials")
  > 
  > # ------------------------------------------------------------------------------
  > 
  > spline_rec <-
  +   recipe(ridership ~ ., data = head(Chicago)) %>%
  +   step_date(date) %>%
  +   step_holiday(date) %>%
  +   step_rm(date, ends_with("away")) %>%
  +   step_knnimpute(all_predictors(), neighbors = tune("imputation")) %>%
  +   step_other(all_nominal(), threshold = tune()) %>%
  +   step_dummy(all_nominal()) %>%
  +   step_normalize(all_predictors()) %>%
  +   step_bs(all_predictors(), deg_free = tune(), degree = tune())
  Warning message:
  `step_knnimpute()` was deprecated in recipes 0.1.16.
  Please use `step_impute_knn()` instead. 
  > 
  > bare_rec <-
  +   recipe(ridership ~ ., data = head(Chicago))
  > 
  > rm_rec <-
  +   recipe(ridership ~ ., data = head(Chicago)) %>%
  +   step_rm(date, ends_with("away"))
  > 
  > ununtable_rec <-
  +   recipe(ridership ~ ., data = head(Chicago)) %>%
  +   step_dummy(all_nominal(), naming = tune())
  > 
  > # ------------------------------------------------------------------------------
  > 
  > bst_model <-
  +   boost_tree(mode = "classification", trees = tune("funky name \n")) %>%
  +   set_engine("C5.0", rules = tune(), noGlobalPruning = TRUE)
  > 
  > lm_model <-
  +   linear_reg() %>%
  +   set_engine("lm")
  > 
  > no_engine <- linear_reg()
  > 
  > weird_annotation <-
  +   boost_tree(mode = "regression", trees = tune("$^%&#!")) %>%
  +   set_engine("C5.0", rules = TRUE, noGlobalPruning = TRUE)
  Error: Available modes for engine C5.0 are: 'unknown', 'classification'
  Backtrace:
      x
   1. +-`%>%`(...)
   2. \-parsnip::set_engine(., "C5.0", rules = TRUE, noGlobalPruning = TRUE)
   3.   \-parsnip:::check_spec_mode_engine_val(...)
   4.     \-parsnip:::stop_incompatible_mode(spec_modes, eng)
  Execution halted