Running 'testthat.R' [17s/37s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > 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: 'PerformanceAnalytics'
  
  The following object is masked from 'package:graphics':
  
      legend
  
  Loading required package: quantmod
  Loading required package: TTR
  == 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 </>
  > library(tidyverse)
  -- Attaching packages --------------------------------------- tidyverse 1.3.0 --
  v ggplot2 3.3.3     v purrr   0.3.4
  v tibble  3.0.6     v dplyr   1.0.4
  v tidyr   1.1.2     v stringr 1.4.0
  v readr   1.4.0     v forcats 0.5.1
  -- Conflicts ------------------------------------------ tidyverse_conflicts() --
  x lubridate::as.difftime() masks base::as.difftime()
  x lubridate::date()        masks base::date()
  x dplyr::filter()          masks stats::filter()
  x dplyr::first()           masks xts::first()
  x lubridate::intersect()   masks base::intersect()
  x purrr::is_null()         masks testthat::is_null()
  x dplyr::lag()             masks stats::lag()
  x dplyr::last()            masks xts::last()
  x dplyr::matches()         masks tidyr::matches(), testthat::matches()
  x lubridate::setdiff()     masks base::setdiff()
  x lubridate::union()       masks base::union()
  > library(dplyr)
  > library(tibble)
  > 
  > test_check("tidyquant")
  == Skipped tests ===============================================================
  * On CRAN (2)
  
  == Warnings ====================================================================
  -- Warning (test-tq_get_economic_data.R:7:1): (code run outside of `test_that()`) --
  x = 'CPIAUCSL', get = 'economic.data': Error in getSymbols.FRED(Symbols = "CPIAUCSL", env = <environment>, verbose = FALSE, : Unable to import "CPIAUCSL".
  Timeout was reached: [fred.stlouisfed.org] Connection timed out after 10000 milliseconds
  
  Backtrace:
   1. tidyquant::tq_get(...) test-tq_get_economic_data.R:7:0
   2. tidyquant:::tq_get_base(...)
   3. tidyquant:::tq_get_util_1(x, get, ...)
   4. base::tryCatch(...)
   5. base:::tryCatchList(expr, classes, parentenv, handlers)
   6. base:::tryCatchOne(expr, names, parentenv, handlers[[1L]])
   7. value[[3L]](cond)
  
  == Failed tests ================================================================
  -- Failure (test-tq_get_economic_data.R:20:5): Test returns tibble with correct rows and columns. --
  `test1` inherits from `logical` not `tbl`.
  -- Failure (test-tq_get_economic_data.R:23:5): Test returns tibble with correct rows and columns. --
  `test1` not identical to `test2`.
  Modes: logical, list
  Lengths: 1, 3
  names for current but not for target
  Attributes: < target is NULL, current is list >
  target is logical, current is tbl_df
  -- Failure (test-tq_get_economic_data.R:25:5): Test returns tibble with correct rows and columns. --
  nrow(test1) not equal to 6.
  target is NULL, current is numeric
  -- Failure (test-tq_get_economic_data.R:27:5): Test returns tibble with correct rows and columns. --
  ncol(test1) not equal to 3.
  target is NULL, current is numeric
  
  [ FAIL 4 | WARN 1 | SKIP 2 | PASS 97 ]
  Error: Test failures
  In addition: Warning messages:
  1: In for (what in newMethods) { :
    closing unused connection 4 (https://fred.stlouisfed.org/series/CPIAUCSL/downloaddata/CPIAUCSL.csv)
  2: In dim(x) :
    closing unused connection 7 (https://query1.finance.yahoo.com/v7/finance/download/XYZ?period1=1293840000&period2=1613260800&interval=1d&events=history&crumb=rKOvzPjH7YG)
  3: In dim(x) :
    closing unused connection 6 (https://query1.finance.yahoo.com/v7/finance/download/XYZ?period1=1293840000&period2=1613260800&interval=1d&events=history&crumb=1PYNPBJwcY2)
  4: In dim(x) :
    closing unused connection 5 (https://fred.stlouisfed.org/series/XYZ/downloaddata/XYZ.csv)
  5: In dim(x) :
    closing unused connection 4 (https://fred.stlouisfed.org/series/XYZ/downloaddata/XYZ.csv)
  Execution halted