Running 'testthat.R' [22s]
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
  > library(tidyverse)
  -- Attaching packages --------------------------------------- tidyverse 1.3.2 --
  v ggplot2 3.3.6     v purrr   0.3.4
  v tibble  3.1.8     v dplyr   1.0.9
  v tidyr   1.2.0     v stringr 1.4.0
  v readr   2.1.2     v forcats 0.5.1
  -- Conflicts ------------------------------------------ tidyverse_conflicts() --
  x lubridate::as.difftime() masks base::as.difftime()
  x lubridate::date()        masks base::date()
  x readr::edition_get()     masks testthat::edition_get()
  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 readr::local_edition()   masks testthat::local_edition()
  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")
  [ FAIL 3 | WARN 6 | SKIP 3 | PASS 73 ]
  
  == Skipped tests ===============================================================
  * On CRAN (2)
  * On Windows (1)
  
  == Failed tests ================================================================
  -- Failure (test-tq_get_stock_prices.R:28:5): Test 2 returns tibble with correct rows and columns. --
  nrow(test2) not equal to 206.
  1/1 mismatches
  [1] 103 - 206 == -103
  -- Failure (test-tq_mutate.R:118:5): Test 5 returns tibble with correct rows and columns. --
  nrow(test5) not equal to 504.
  1/1 mismatches
  [1] 252 - 504 == -252
  -- Error (test-tq_transmute.R:50:1): (code run outside of `test_that()`) -------
  Error in `tq_transmute_.default(data = data, select = lazyeval::expr_text(select), 
      mutate_fun = lazyeval::expr_text(mutate_fun), col_rename = col_rename, 
      ... = ...)`: data must be a tibble or data.frame object
  Backtrace:
      x
   1. +-... %>% ... at test-tq_transmute.R:50:0
   2. \-tidyquant::tq_transmute(...)
   3.   +-tidyquant::tq_transmute_(...)
   4.   \-tidyquant:::tq_transmute_.default(...)
  
  [ FAIL 3 | WARN 6 | SKIP 3 | PASS 73 ]
  Error: Test failures
  In addition: Warning messages:
  1: In length(x) :
    closing unused connection 5 (https://fred.stlouisfed.org/series/XYZ/downloaddata/XYZ.csv)
  2: In length(x) :
    closing unused connection 4 (https://fred.stlouisfed.org/series/XYZ/downloaddata/XYZ.csv)
  Execution halted