Running ‘testthat.R’ [4s/15s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(timetk)
  > 
  > test_check("timetk")
  Loading required package: lubridate
  
  Attaching package: 'lubridate'
  
  The following object is masked from 'package:base':
  
      date
  
  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: '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.
  Loading required package: tidyverse
  ── Attaching packages ─────────────────────────────────────── tidyverse 1.2.0 ──
  ✔ ggplot2 2.2.1     ✔ purrr   0.2.4
  ✔ tibble  1.3.4     ✔ dplyr   0.7.4
  ✔ tidyr   0.7.2     ✔ stringr 1.2.0
  ✔ readr   1.1.1     ✔ forcats 0.2.0
  ── Conflicts ────────────────────────────────────────── tidyverse_conflicts() ──
  ✖ lubridate::as.difftime() masks base::as.difftime()
  ✖ lubridate::date()        masks base::date()
  ✖ dplyr::filter()          masks stats::filter()
  ✖ dplyr::first()           masks xts::first()
  ✖ lubridate::intersect()   masks base::intersect()
  ✖ purrr::is_null()         masks testthat::is_null()
  ✖ dplyr::lag()             masks stats::lag()
  ✖ dplyr::last()            masks xts::last()
  ✖ dplyr::matches()         masks testthat::matches()
  ✖ lubridate::setdiff()     masks base::setdiff()
  ✖ lubridate::union()       masks base::union()
  
  Attaching package: 'tidyquant'
  
  The following object is masked from 'package:dplyr':
  
      as_tibble
  
  The following object is masked from 'package:tibble':
  
      as_tibble
  
  Error in xts::xts(data, ...) : 
    order.by requires an appropriate time-based object
  Calls: test_check ... tk_xts -> tk_xts_ -> tk_xts_.default -> <Anonymous>
  In addition: Warning messages:
  1: x = 'AAPL', get = 'stock.prices': Error in curl::curl_fetch_memory(query.srv, handle = h$ch): Timeout was reached: Operation timed out after 10001 milliseconds with 0 out of 0 bytes received
   
  2: In tk_xts_.default(data = data, select = select, date_var = date_var,  :
    `select` is only applicable to data.frame and tibble objects.
  3: In tk_xts_.default(data = data, select = select, date_var = date_var,  :
    `date_var` is only applicable to data.frame and tibble objects.
  testthat results ================================================================
  OK: 41 SKIPPED: 0 FAILED: 0
  Execution halted