Running ‘testthat.R’ [4s/17s]
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
  Loading tidyverse: ggplot2
  Loading tidyverse: tibble
  Loading tidyverse: tidyr
  Loading tidyverse: readr
  Loading tidyverse: purrr
  Loading tidyverse: dplyr
  Conflicts with tidy packages ---------------------------------------------------
  as.difftime(): lubridate, base
  date():        lubridate, base
  filter():      dplyr, stats
  first():       dplyr, xts
  intersect():   lubridate, base
  is_null():     purrr, testthat
  lag():         dplyr, stats
  last():        dplyr, xts
  matches():     dplyr, testthat
  setdiff():     lubridate, base
  union():       lubridate, base
  
  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: Connection timed out after 10001 milliseconds
   
  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