Running 'testthat.R' [29s]
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 --
  v ggplot2 3.1.0       v purrr   0.3.2  
  v tibble  2.1.1       v dplyr   0.8.0.1
  v tidyr   0.8.3       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 testthat::matches()
  x lubridate::setdiff()     masks base::setdiff()
  x lubridate::union()       masks base::union()
  > 
  > test_check("tidyquant")
  -- 1. Failure: Test prints warning message on invalid x input. (@test_tq_get_com
  `c("AAPL", "XYZ") %>% tq_get(get = get)` did not produce any warnings.
  
  -- 2. Failure: Test prints warning message on invalid x input. (@test_tq_get_com
  `c("AAPL", "XYZ") %>% tq_get(get = get, complete_cases = FALSE)` did not produce any warnings.
  
  -- 3. Failure: Test returns tibble with correct rows and columns. (@test_tq_get_
  `test1` inherits from `logical` not `tbl`.
  
  -- 4. Failure: Test returns tibble with correct rows and columns. (@test_tq_get_
  nrow(test1) not equal to 7.
  target is NULL, current is numeric
  
  -- 5. Failure: Test returns tibble with correct rows and columns. (@test_tq_get_
  ncol(test1) not equal to 2.
  target is NULL, current is numeric
  
  -- 6. Error: Test unnest returns correct rows. (@test_tq_get_key_ratios.R#23)  -
  no applicable method for 'unnest_' applied to an object of class "logical"
  1: expect_equal(nrow(unnest(test1)), 890) at testthat/test_tq_get_key_ratios.R:23
  2: quasi_label(enquo(object), label)
  3: eval_bare(get_expr(quo), get_env(quo))
  4: nrow(unnest(test1))
  5: unnest(test1)
  6: unnest.default(test1)
  7: unnest_(data, unnest_cols = unnest_cols, .drop = .drop, .id = .id, .sep = .sep, .preserve = .preserve)
  
  -- 7. Failure: Test prints warning message on invalid x input. (@test_tq_get_sto
  `tq_get("XYZ", get = get)` did not produce any warnings.
  
  -- 8. Failure: Test returns NA on invalid x input. (@test_tq_get_stock_prices.R#
  suppressWarnings(tq_get("XYZ", get = get)) not equal to NA.
  Cols in y but not x: `NA`. 
  Cols in x but not y: `low`, `high`, `adjusted`, `close`, `volume`, `open`, `date`. 
  
  == testthat results  ===========================================================
  OK: 126 SKIPPED: 1 FAILED: 8
  1. Failure: Test prints warning message on invalid x input. (@test_tq_get_compound_getters.R#57) 
  2. Failure: Test prints warning message on invalid x input. (@test_tq_get_compound_getters.R#68) 
  3. Failure: Test returns tibble with correct rows and columns. (@test_tq_get_key_ratios.R#14) 
  4. Failure: Test returns tibble with correct rows and columns. (@test_tq_get_key_ratios.R#16) 
  5. Failure: Test returns tibble with correct rows and columns. (@test_tq_get_key_ratios.R#18) 
  6. Error: Test unnest returns correct rows. (@test_tq_get_key_ratios.R#23) 
  7. Failure: Test prints warning message on invalid x input. (@test_tq_get_stock_prices.R#38) 
  8. Failure: Test returns NA on invalid x input. (@test_tq_get_stock_prices.R#42) 
  
  Error: testthat unit tests failed
  Execution halted