Running ‘testthat.R’ [10s/139s]
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.
  Loading required package: tidyverse
  ── Attaching packages ─────────────────────────────────────── tidyverse 1.2.1 ──
  ✔ ggplot2 3.1.0     ✔ purrr   0.2.5
  ✔ tibble  2.0.0     ✔ dplyr   0.7.8
  ✔ tidyr   0.8.2     ✔ stringr 1.3.1
  ✔ readr   1.3.1     ✔ forcats 0.3.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()
  > 
  > test_check("tidyquant")
  ── 1. Failure: Test 1 returns tibble with correct rows and columns. (@test_tq_ge
  nrow(test1) not equal to 1.
  1/1 mismatches
  [1] 0 - 1 == -1
  
  ── 2. Failure: Test 2 returns tibble with correct rows and columns. (@test_tq_ge
  nrow(test2) not equal to 2.
  1/1 mismatches
  [1] 0 - 2 == -2
  
  ── 3. Failure: Test 3 returns tibble with correct rows and columns. (@test_tq_ge
  nrow(test3) not equal to 3.
  1/1 mismatches
  [1] 1 - 3 == -2
  
  additional arguments ignored in warning()
  additional arguments ignored in warning()
  ══ testthat results  ═══════════════════════════════════════════════════════════
  OK: 135 SKIPPED: 1 FAILED: 3
  1. Failure: Test 1 returns tibble with correct rows and columns. (@test_tq_get_compound_getters.R#24) 
  2. Failure: Test 2 returns tibble with correct rows and columns. (@test_tq_get_compound_getters.R#33) 
  3. Failure: Test 3 returns tibble with correct rows and columns. (@test_tq_get_compound_getters.R#42) 
  
  Error: testthat unit tests failed
  Execution halted