Running examples in ‘healthyR.ai-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: pca_your_recipe
> ### Title: Perform PCA
> ### Aliases: pca_your_recipe
> 
> ### ** Examples
> 
> suppressPackageStartupMessages(library(timetk))
> suppressPackageStartupMessages(library(dplyr))
> suppressPackageStartupMessages(library(purrr))
> suppressPackageStartupMessages(library(healthyR.data))
> suppressPackageStartupMessages(library(rsample))
> suppressPackageStartupMessages(library(recipes))
> suppressPackageStartupMessages(library(ggplot2))
> suppressPackageStartupMessages(library(plotly))
> 
> data_tbl <- healthyR_data %>%
+   select(visit_end_date_time) %>%
+   summarise_by_time(
+     .date_var = visit_end_date_time,
+     .by       = "month",
+     value     = n()
+   ) %>%
+   set_names("date_col", "value") %>%
+   filter_by_time(
+     .date_var = date_col,
+     .start_date = "2013",
+     .end_date = "2020"
+   )
> 
> splits <- initial_split(data = data_tbl, prop = 0.8)
> 
> rec_obj <- recipe(value ~ ., training(splits)) %>%
+   step_timeseries_signature(date_col) %>%
+   step_rm(matches("(iso$)|(xts$)|(hour)|(min)|(sec)|(am.pm)"))
> 
> output_list <- pca_your_recipe(rec_obj, .data = data_tbl)
Warning: `terms_select()` was deprecated in recipes 0.1.17.
ℹ Please use `recipes_eval_select()` instead.
ℹ The deprecated feature was likely used in the timetk package.
  Please report the issue at
  <https://github.com/business-science/timetk/issues>.
Error in `prep()`:
! All variables for `step_timeseries_signature` should be either `Date` or`POSIXct` classes.
Backtrace:
    ▆
 1. └─healthyR.ai::pca_your_recipe(rec_obj, .data = data_tbl)
 2.   ├─recipes::prep(pca_transform)
 3.   └─recipes:::prep.recipe(pca_transform)
 4.     ├─recipes::prep(x$steps[[i]], training = training, info = x$term_info)
 5.     └─timetk:::prep.step_timeseries_signature(x$steps[[i]], training = training, info = x$term_info)
 6.       └─rlang::abort(...)
Execution halted