Running 'testthat.R' [15s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > # This file is part of the standard setup for testthat.
  > # It is recommended that you do not modify it.
  > #
  > # Where should you do additional test configuration?
  > # Learn more about the roles of various files in:
  > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
  > # * https://testthat.r-lib.org/articles/special-files.html
  > 
  > library(testthat)
  > library(tidyquant)
  ── Attaching core tidyquant packages ─────────────────────── tidyquant 1.0.10 ──
  ✔ PerformanceAnalytics 2.0.8      ✔ quantmod             0.4.26
  ✔ TTR                  0.24.4     ✔ xts                  0.14.1
  ── Conflicts ────────────────────────────────────────── tidyquant_conflicts() ──
  ✖ zoo::as.Date()                 masks base::as.Date()
  ✖ zoo::as.Date.numeric()         masks base::as.Date.numeric()
  ✖ PerformanceAnalytics::legend() masks graphics::legend()
  ✖ quantmod::summary()            masks base::summary()
  ℹ Use the conflicted package (<http://conflicted.r-lib.org/>) to force all conflicts to become errors
  > 
  > test_check("tidyquant")
  [ FAIL 2 | WARN 0 | SKIP 5 | PASS 64 ]
  
  ══ Skipped tests (5) ═══════════════════════════════════════════════════════════
  • On CRAN (4): 'test-index-tq_index.R:16:5', 'test-index_tq_exchange.R:18:5',
    'test-tq_portfolio.R:4:1', 'test-tq_transmute.R:2:1'
  • On Windows (1): 'test-index_tq_exchange.R:32:5'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-tq_get_stock_prices.R:33:5'): Test prints warning message on invalid x input. ──
  `tq_get("XYZ", get = get)` did not produce any warnings.
  ── Failure ('test-tq_get_stock_prices.R:37:5'): Test returns NA on invalid x input. ──
  suppressWarnings(tq_get("XYZ", get = get)) not equal to NA.
  Modes: list, logical
  names for target but not for current
  Attributes: < Modes: list, NULL >
  Attributes: < names for target but not for current >
  Attributes: < current is not list-like >
  Length mismatch: comparison on first 1 components
  Component 1: Modes: character, logical
  Component 1: Lengths: 2310, 1
  Component 1: target is character, current is logical
  
  [ FAIL 2 | WARN 0 | SKIP 5 | PASS 64 ]
  Error: Test failures
  Execution halted