Running ‘testthat.R’ [10s/254s]
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-getPartialGamelog.R:4:5): getPartialGamelog examples all work ───
  Error: Timeout was reached: [www.retrosheet.org] Operation timed out after 15000 milliseconds with 131072 out of 480174 bytes received
  Backtrace:
      █
   1. └─retrosheet::getPartialGamelog(2012, glFields = f) test-getPartialGamelog.R:4:4
   2.   └─httr::RETRY(...)
  ── Error (test-getRetrosheet.R:9:5): Caching works ─────────────────────────────
  Error: Timeout was reached: [www.retrosheet.org] Operation timed out after 15000 milliseconds with 180170 out of 2022739 bytes received
  Backtrace:
      █
   1. └─retrosheet::getRetrosheet("roster", 1995, cache = "testdata") test-getRetrosheet.R:9:4
   2.   └─httr::RETRY(...)
  ── Error (test-getRetrosheet.R:45:5): Roster downloading works ─────────────────
  Error: zip file 'testdata/events/1995eve.zip' cannot be opened
  Backtrace:
      █
   1. └─retrosheet::getRetrosheet("roster", 1995, cache = "testdata") test-getRetrosheet.R:45:4
   2.   └─utils::unzip(tmp, list = TRUE)
  ── Error (test-getRetrosheet.R:57:5): Game downloading works ───────────────────
  Error: Timeout was reached: [www.retrosheet.org] Operation timed out after 15001 milliseconds with 0 bytes received
  Backtrace:
      █
   1. └─retrosheet::getRetrosheet("game", 2012, cache = "testdata") test-getRetrosheet.R:57:4
   2.   └─httr::RETRY(...)
  ── Error (test-getRetrosheet.R:69:5): Play downloading works ───────────────────
  Error: Timeout was reached: [www.retrosheet.org] Operation timed out after 15000 milliseconds with 89619 out of 2404851 bytes received
  Backtrace:
      █
   1. └─retrosheet::getRetrosheet("play", 2012, "SFN", cache = "testdata") test-getRetrosheet.R:69:4
   2.   └─httr::RETRY(...)
  ── Error (test-getTeamIDs.R:3:5): getTeamIDs returns the right number of teams ──
  Error: Timeout was reached: [www.retrosheet.org] Operation timed out after 10001 milliseconds with 0 out of 0 bytes received
  Backtrace:
      █
   1. └─retrosheet::getTeamIDs(2012) test-getTeamIDs.R:3:4
   2.   ├─httr::http_error(path)
   3.   └─httr:::http_error.character(path)
   4.     ├─httr::http_error(HEAD(x, ...))
   5.     └─httr::HEAD(x, ...)
   6.       └─httr:::request_perform(req, hu$handle$handle)
   7.         ├─httr:::request_fetch(req$output, req$url, handle)
   8.         └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   9.           └─curl::curl_fetch_memory(url, handle = handle)
  
  [ FAIL 6 | WARN 0 | SKIP 0 | PASS 40 ]
  Error: Test failures
  Execution halted