Running ‘testthat.R’ [16s/24s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(timetk)
  > library(tidyverse)
  ── Attaching packages ─────────────────────────────────────── tidyverse 1.3.0 ──
  ✔ ggplot2 3.3.0     ✔ purrr   0.3.4
  ✔ tibble  3.0.1     ✔ dplyr   0.8.5
  ✔ tidyr   1.0.3     ✔ stringr 1.4.0
  ✔ readr   1.3.1     ✔ forcats 0.5.0
  ── Conflicts ────────────────────────────────────────── tidyverse_conflicts() ──
  ✖ dplyr::filter()  masks stats::filter()
  ✖ purrr::is_null() masks testthat::is_null()
  ✖ dplyr::lag()     masks stats::lag()
  ✖ dplyr::matches() masks tidyr::matches(), testthat::matches()
  > library(tidyquant)
  Loading required package: lubridate
  
  Attaching package: 'lubridate'
  
  The following objects are masked from 'package:dplyr':
  
      intersect, setdiff, union
  
  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
  Version 0.4-0 included new data defaults. See ?getSymbols.
  ══ Need to Learn tidyquant? ════════════════════════════════════════════════════
  Business Science offers a 1-hour course - Learning Lab #9: Performance Analysis & Portfolio Optimization with tidyquant!
  </> Learn more at: https://university.business-science.io/p/learning-labs-pro </>
  
  Attaching package: 'tidyquant'
  
  The following objects are masked from 'package:timetk':
  
      summarise_by_time, summarize_by_time
  
  > 
  > # 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")
  ── 1. Error: (unknown) (@test_tk_get_timeseries.R#154)  ────────────────────────
  'where' must be an environment
  Backtrace:
    1. timetk::tk_get_timeseries_unit_frequency()
   12. forcats::as_factor(unit)
   13. ellipsis::check_dots_used()
   15. ellipsis:::exit_handler(action)
   16. base::bquote(...)
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  [ OK: 285 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 1 ]
  1. Error: (unknown) (@test_tk_get_timeseries.R#154) 
  
  Error: testthat unit tests failed
  Execution halted