Running 'testthat.R' [28s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(tidyquant)
  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.
  == 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.2.1     v purrr   0.3.3
  v tibble  2.1.3     v dplyr   0.8.3
  v tidyr   1.0.0     v stringr 1.4.0
  v readr   1.3.1     v forcats 0.4.0
  -- 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()
  > 
  > test_check("tidyquant")
  -- 1. Failure: Test 3 returns tibble with correct rows and columns. (@test_tq_ge
  nrow(test3) not equal to 3.
  1/1 mismatches
  [1] 2 - 3 == -1
  
  -- 2. Failure: Test returns tibble with correct rows and columns. (@test_tq_get_
  `test1` inherits from `logical` not `tbl`.
  
  -- 3. Failure: Test returns tibble with correct rows and columns. (@test_tq_get_
  nrow(test1) not equal to 2.
  target is NULL, current is numeric
  
  -- 4. Failure: Test returns tibble with correct rows and columns. (@test_tq_get_
  ncol(test1) not equal to 2.
  target is NULL, current is numeric
  
  -- 5. Failure: Test returns tibble with correct rows and columns. (@test_tq_get_
  `test1` inherits from `logical` not `tbl`.
  
  -- 6. Failure: Test returns tibble with correct rows and columns. (@test_tq_get_
  nrow(test1) not equal to 3.
  target is NULL, current is numeric
  
  -- 7. Failure: Test returns tibble with correct rows and columns. (@test_tq_get_
  ncol(test1) not equal to 2.
  target is NULL, current is numeric
  
  == testthat results  ===========================================================
  [ OK: 109 | SKIPPED: 1 | WARNINGS: 3 | FAILED: 7 ]
  1. Failure: Test 3 returns tibble with correct rows and columns. (@test_tq_get_compound_getters.R#42) 
  2. Failure: Test returns tibble with correct rows and columns. (@test_tq_get_dividends.R#15) 
  3. Failure: Test returns tibble with correct rows and columns. (@test_tq_get_dividends.R#17) 
  4. Failure: Test returns tibble with correct rows and columns. (@test_tq_get_dividends.R#19) 
  5. Failure: Test returns tibble with correct rows and columns. (@test_tq_get_splits.R#15) 
  6. Failure: Test returns tibble with correct rows and columns. (@test_tq_get_splits.R#17) 
  7. Failure: Test returns tibble with correct rows and columns. (@test_tq_get_splits.R#19) 
  
  Error: testthat unit tests failed
  Execution halted