Running ‘testthat.R’ [44s/46s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(timetk)
  > library(tidyverse)
  ── Attaching packages ─────────────────────────────────────── tidyverse 1.3.2 ──
  ✔ ggplot2 3.4.0      ✔ purrr   0.3.5 
  ✔ tibble  3.1.8      ✔ dplyr   1.0.10
  ✔ tidyr   1.2.1      ✔ stringr 1.4.1 
  ✔ readr   2.1.3      ✔ forcats 0.5.2 
  ── Conflicts ────────────────────────────────────────── tidyverse_conflicts() ──
  ✖ readr::edition_get()   masks testthat::edition_get()
  ✖ dplyr::filter()        masks stats::filter()
  ✖ purrr::is_null()       masks testthat::is_null()
  ✖ dplyr::lag()           masks stats::lag()
  ✖ readr::local_edition() masks testthat::local_edition()
  ✖ dplyr::matches()       masks tidyr::matches(), testthat::matches()
  > library(tidyquant)
  Loading required package: lubridate
  Loading required package: timechange
  
  Attaching package: 'lubridate'
  
  The following objects are masked from 'package:base':
  
      date, intersect, setdiff, union
  
  Loading required package: PerformanceAnalytics
  Loading required package: xts
  Loading required package: zoo
  
  Attaching package: 'zoo'
  
  The following objects are masked from 'package:base':
  
      as.Date, as.Date.numeric
  
  
  Attaching package: 'xts'
  
  The following objects are masked from 'package:dplyr':
  
      first, last
  
  
  Attaching package: 'PerformanceAnalytics'
  
  The following object is masked from 'package:graphics':
  
      legend
  
  Loading required package: quantmod
  Loading required package: TTR
  > 
  > # Forecast objects
  > library(forecast)
  > library(robets)
  > library(fracdiff)
  > library(timeDate)
  
  Attaching package: 'timeDate'
  
  The following objects are masked from 'package:PerformanceAnalytics':
  
      kurtosis, skewness
  
  > library(tseries)
  > 
  > test_check("timetk")
  [ FAIL 3 | WARN 14 | SKIP 0 | PASS 394 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-recipes-step_timeseries_signature.R:27'): Recipe becomes prepped properly. ──
  Error in `prep(x$steps[[i]], training = training, info = x$term_info)`: All variables for `step_timeseries_signature` should be either `Date` or`POSIXct` classes.
  Backtrace:
      ▆
   1. ├─rec_obj %>% prep() %>% tidy() at test-recipes-step_timeseries_signature.R:27:4
   2. ├─generics::tidy(.)
   3. ├─recipes::prep(.)
   4. └─recipes:::prep.recipe(.)
   5.   ├─recipes::prep(x$steps[[i]], training = training, info = x$term_info)
   6.   └─timetk:::prep.step_timeseries_signature(x$steps[[i]], training = training, info = x$term_info)
   7.     └─rlang::abort(...)
  ── Error ('test-recipes-step_timeseries_signature.R:36'): Recipe becomes baked properly. ──
  Error in `prep(x$steps[[i]], training = training, info = x$term_info)`: All variables for `step_timeseries_signature` should be either `Date` or`POSIXct` classes.
  Backtrace:
      ▆
   1. ├─recipes::bake(prep(rec_obj), FB_tbl) at test-recipes-step_timeseries_signature.R:36:4
   2. ├─recipes::prep(rec_obj)
   3. └─recipes:::prep.recipe(rec_obj)
   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(...)
  ── Error ('test-recipes-step_timeseries_signature.R:44'): Tidy works. ──────────
  Error in `prep(x$steps[[i]], training = training, info = x$term_info)`: All variables for `step_timeseries_signature` should be either `Date` or`POSIXct` classes.
  Backtrace:
      ▆
   1. ├─prep(rec_obj) %>% tidy(1) at test-recipes-step_timeseries_signature.R:44:4
   2. ├─generics::tidy(., 1)
   3. ├─recipes::prep(rec_obj)
   4. └─recipes:::prep.recipe(rec_obj)
   5.   ├─recipes::prep(x$steps[[i]], training = training, info = x$term_info)
   6.   └─timetk:::prep.step_timeseries_signature(x$steps[[i]], training = training, info = x$term_info)
   7.     └─rlang::abort(...)
  
  [ FAIL 3 | WARN 14 | SKIP 0 | PASS 394 ]
  Error: Test failures
  Execution halted