Running ‘testthat.R’ [36s/37s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(timetk)
  > library(tidyverse)
  ── Attaching packages ─────────────────────────────────────── tidyverse 1.3.2 ──
  ✔ ggplot2 3.3.6      ✔ purrr   0.3.4 
  ✔ tibble  3.1.8      ✔ dplyr   1.0.10
  ✔ tidyr   1.2.1      ✔ stringr 1.4.1 
  ✔ readr   2.1.2      ✔ 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
  
  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 1 | WARN 2 | SKIP 0 | PASS 389 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-tk_tbl.R:106:1): (code run outside of `test_that()`) ────────────
  Error in `h(simpleError(msg, call))`: error in evaluating the argument 'charvec' in selecting a method for function 'timeSeries': 'from' must be a finite number
  Backtrace:
      ▆
   1. ├─timeSeries::timeSeries(...) at test-tk_tbl.R:106:0
   2. ├─timeDate::timeSequence(length.out = 100, by = "sec")
   3. │ ├─base::seq(from = from, by = by, length.out = length.out)
   4. │ └─timeDate:::seq.timeDate(from = from, by = by, length.out = length.out)
   5. └─base::.handleSimpleError(...)
   6.   └─base (local) h(simpleError(msg, call))
  
  [ FAIL 1 | WARN 2 | SKIP 0 | PASS 389 ]
  Error: Test failures
  Execution halted