Running ‘testthat.R’ [5s/249s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(retrosheet)
  
  For Retrosheet data obtained with this package:
  
  The information used here was obtained free of charge from
  and is copyrighted by Retrosheet. Interested parties may
  contact Retrosheet at "www.retrosheet.org"
  
  > 
  > test_check("retrosheet")
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-getRetrosheet.R:11:5): Caching works ────────────────────────────
  Error: Timeout was reached: [www.retrosheet.org] Operation timed out after 15000 milliseconds with 1925021 out of 2404851 bytes received
  Backtrace:
      █
   1. └─retrosheet::getRetrosheet("play", 2012, "SFN", cache = "testdata") test-getRetrosheet.R:11:4
   2.   └─httr::RETRY(...)
  ── Error (test-getRetrosheet.R:69:5): Play downloading works ───────────────────
  Error: zip file 'testdata/events/2012eve.zip' cannot be opened
  Backtrace:
      █
   1. └─retrosheet::getRetrosheet("play", 2012, "SFN", cache = "testdata") test-getRetrosheet.R:69:4
   2.   └─utils::unzip(tmp, list = TRUE)
  ── Error (test-getTeamIDs.R:3:5): getTeamIDs returns the right number of teams ──
  Error: Timeout was reached: [www.retrosheet.org] Operation timed out after 15000 milliseconds with 1908655 out of 2404851 bytes received
  Backtrace:
      █
   1. └─retrosheet::getTeamIDs(2012) test-getTeamIDs.R:3:4
   2.   └─httr::RETRY(...)
  ── Error (test-get_retrosheet.R:8:5): Caching works ────────────────────────────
  Error: Timeout was reached: [www.retrosheet.org] Operation timed out after 15000 milliseconds with 1859521 out of 2404851 bytes received
  Backtrace:
      █
   1. └─retrosheet::get_retrosheet("play", 2012, "SFN", cache = "testdata") test-get_retrosheet.R:8:4
   2.   └─retrosheet::getRetrosheet(...)
   3.     └─httr::RETRY(...)
  ── Error (test-get_retrosheet.R:64:5): Play downloading works ──────────────────
  Error: zip file 'testdata/events/2012eve.zip' cannot be opened
  Backtrace:
      █
   1. └─retrosheet::get_retrosheet("play", 2012, "SFN", cache = "testdata") test-get_retrosheet.R:64:4
   2.   └─retrosheet::getRetrosheet(...)
   3.     └─utils::unzip(tmp, list = TRUE)
  ── Failure (test-rmarkdown.R:14:5): Can be used in rmarkdown ───────────────────
  `runAllChunks("test-rmarkdown.Rmd")` threw an error.
  Message: Timeout was reached: [www.retrosheet.org] Operation timed out after 15000 milliseconds with 1966008 out of 2404851 bytes received
  Class:   simpleError/error/condition
  Backtrace:
       █
    1. ├─testthat::expect_error(runAllChunks("test-rmarkdown.Rmd"), NA) test-rmarkdown.R:14:4
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat:::.capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. └─retrosheet:::runAllChunks("test-rmarkdown.Rmd")
    7.   ├─rmarkdown::render(rmd, output_file = tempR, quiet = TRUE) test-rmarkdown.R:10:8
    8.   │ └─knitr::knit(knit_input, knit_output, envir = envir, quiet = quiet)
    9.   │   └─knitr:::process_file(text, output)
   10.   │     ├─base::withCallingHandlers(...)
   11.   │     ├─knitr:::process_group(group)
   12.   │     └─knitr:::process_group.block(group)
   13.   │       └─knitr:::call_block(x)
   14.   │         └─knitr:::block_exec(params)
   15.   │           ├─knitr:::in_dir(...)
   16.   │           └─knitr:::evaluate(...)
   17.   │             └─evaluate::evaluate(...)
   18.   │               └─evaluate:::evaluate_call(...)
   19.   │                 ├─evaluate:::timing_fn(...)
   20.   │                 ├─base:::handle(...)
   21.   │                 ├─base::withCallingHandlers(...)
   22.   │                 ├─base::withVisible(eval(expr, envir, enclos))
   23.   │                 └─base::eval(expr, envir, enclos)
   24.   │                   └─base::eval(expr, envir, enclos)
   25.   └─retrosheet::getTeamIDs(2012)
   26.     └─httr::RETRY(...)
  
  [ FAIL 6 | WARN 0 | SKIP 0 | PASS 36 ]
  Error: Test failures
  Execution halted