Running ‘testthat.R’ [8s/194s]
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")
  [ FAIL 4 | WARN 0 | SKIP 1 | PASS 45 ]
  
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • On CRAN (1)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-getRetrosheet.R:9:5): Caching works ─────────────────────────────
  Error in `curl::curl_fetch_disk(url, x$path, handle = handle)`: Timeout was reached: [www.retrosheet.org] Operation timed out after 15000 milliseconds with 688092 out of 2022577 bytes received
  Backtrace:
      ▆
   1. └─retrosheet::getRetrosheet("roster", 1995, cache = "testdata") at test-getRetrosheet.R:9:4
   2.   └─httr::RETRY(...)
  ── Error (test-getRetrosheet.R:45:5): Roster downloading works ─────────────────
  Error in `unzip(tmp, list = TRUE)`: zip file 'testdata/events/1995eve.zip' cannot be opened
  Backtrace:
      ▆
   1. └─retrosheet::getRetrosheet("roster", 1995, cache = "testdata") at test-getRetrosheet.R:45:4
   2.   └─utils::unzip(tmp, list = TRUE)
  ── Error (test-getRetrosheet.R:69:5): Play downloading works ───────────────────
  Error in `curl::curl_fetch_disk(url, x$path, handle = handle)`: Timeout was reached: [www.retrosheet.org] Operation timed out after 15000 milliseconds with 1105857 out of 2404002 bytes received
  Backtrace:
      ▆
   1. └─retrosheet::getRetrosheet("play", 2012, "SFN", cache = "testdata") at test-getRetrosheet.R:69:4
   2.   └─httr::RETRY(...)
  ── Error (test-getTeamIDs.R:3:5): getTeamIDs returns the right number of teams ──
  Error in `curl::curl_fetch_disk(url, x$path, handle = handle)`: Timeout was reached: [www.retrosheet.org] Operation timed out after 15000 milliseconds with 1007589 out of 2404002 bytes received
  Backtrace:
      ▆
   1. └─retrosheet::getTeamIDs(2012) at test-getTeamIDs.R:3:4
   2.   └─httr::RETRY(...)
  
  [ FAIL 4 | WARN 0 | SKIP 1 | PASS 45 ]
  Error: Test failures
  Execution halted