Running ‘testthat.R’ [8s/129s]
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/tests.html
  > # * https://testthat.r-lib.org/reference/test_package.html#special-files
  > 
  > library(testthat)
  > library(talkr)
  > 
  > test_check("talkr")
  Saving _problems/test-plots-15.R
  Saving _problems/test-report-2.R
  [ FAIL 2 | WARN 2 | SKIP 1 | PASS 71 ]
  
  ══ Skipped tests (1) ═══════════════════════════════════════════════════════════
  • On CRAN (1): 'test-calculate_timing.R:4:1'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-plots.R:15:1'): (code run outside of `test_that()`) ────────────
  Error in `scan(file = file, what = what, sep = sep, quote = quote, dec = dec, nmax = nrows, skip = 0, na.strings = na.strings, quiet = TRUE, fill = fill, strip.white = strip.white, blank.lines.skip = blank.lines.skip, multi.line = FALSE, comment.char = comment.char, allowEscapes = allowEscapes, flush = flush, encoding = encoding, skipNul = skipNul)`: cannot read from connection
  Backtrace:
      ▆
   1. └─talkr::get_ifadv() at test-plots.R:15:1
   2.   └─utils::read.csv(source)
   3.     └─utils::read.table(...)
   4.       └─base::scan(...)
  ── Error ('test-report.R:2:1'): (code run outside of `test_that()`) ────────────
  Error in `scan(file = file, what = what, sep = sep, quote = quote, dec = dec, nmax = nrows, skip = 0, na.strings = na.strings, quiet = TRUE, fill = fill, strip.white = strip.white, blank.lines.skip = blank.lines.skip, multi.line = FALSE, comment.char = comment.char, allowEscapes = allowEscapes, flush = flush, encoding = encoding, skipNul = skipNul)`: cannot read from connection
  Backtrace:
      ▆
   1. └─talkr::get_ifadv() at test-report.R:2:1
   2.   └─utils::read.csv(source)
   3.     └─utils::read.table(...)
   4.       └─base::scan(...)
  
  [ FAIL 2 | WARN 2 | SKIP 1 | PASS 71 ]
  Deleting unused snapshots: 'plots/plot_quality.png'
  Error:
  ! Test failures.
  Execution halted