Running ‘testthat.R’ [0m/10m]
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 15 | WARN 0 | SKIP 1 | PASS 1 ]
  
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • On CRAN (1)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-getFileNames.R:2:5): getFileNames() returns the right result ────
  Error in `curl::curl_fetch_memory(url, handle = handle)`: Timeout was reached: [www.retrosheet.org] Operation timed out after 15001 milliseconds with 0 bytes received
  Backtrace:
      ▆
   1. └─retrosheet::getFileNames() at test-getFileNames.R:2:4
   2.   └─base::lapply(...)
   3.     └─retrosheet FUN(X[[i]], ...)
   4.       └─httr::RETRY("GET", url = x, timeout(15))
  ── Error (test-getParkIDs.R:2:3): getParkIDs returns the right results ─────────
  Error in `curl::curl_fetch_disk(url, x$path, handle = handle)`: Timeout was reached: [www.retrosheet.org] Operation timed out after 15001 milliseconds with 0 bytes received
  Backtrace:
      ▆
   1. └─retrosheet::getParkIDs() at test-getParkIDs.R:2:2
   2.   └─httr::RETRY(...)
  ── Error (test-getPartialGamelog.R:4:5): getPartialGamelog examples all work ───
  Error in `curl::curl_fetch_disk(url, x$path, handle = handle)`: Timeout was reached: [www.retrosheet.org] Operation timed out after 15001 milliseconds with 0 bytes received
  Backtrace:
      ▆
   1. └─retrosheet::getPartialGamelog(2012, glFields = f) at test-getPartialGamelog.R:4:4
   2.   └─httr::RETRY(...)
  ── Error (test-getRetrosheet.R:7:5): Caching works ─────────────────────────────
  Error in `curl::curl_fetch_disk(url, x$path, handle = handle)`: Timeout was reached: [www.retrosheet.org] Operation timed out after 15001 milliseconds with 0 bytes received
  Backtrace:
      ▆
   1. └─retrosheet::getRetrosheet("schedule", 1995, cache = "testdata") at test-getRetrosheet.R:7:4
   2.   └─httr::RETRY(...)
  ── Error (test-getRetrosheet.R:32:5): Schedule downloading works ───────────────
  Error in `unzip(tmp, list = TRUE)`: zip file 'testdata/schedule/1995SKED.ZIP' cannot be opened
  Backtrace:
      ▆
   1. └─retrosheet::getRetrosheet("schedule", 1995, cache = "testdata") at test-getRetrosheet.R:32:4
   2.   └─utils::unzip(tmp, list = TRUE)
  ── Error (test-getRetrosheet.R:45:5): Roster downloading works ─────────────────
  Error in `curl::curl_fetch_disk(url, x$path, handle = handle)`: Timeout was reached: [www.retrosheet.org] Operation timed out after 15001 milliseconds with 0 bytes received
  Backtrace:
      ▆
   1. └─retrosheet::getRetrosheet("roster", 1995, cache = "testdata") at test-getRetrosheet.R:45:4
   2.   └─httr::RETRY(...)
  ── Error (test-getRetrosheet.R:57:5): Game downloading works ───────────────────
  Error in `curl::curl_fetch_disk(url, x$path, handle = handle)`: Timeout was reached: [www.retrosheet.org] Operation timed out after 15001 milliseconds with 0 bytes received
  Backtrace:
      ▆
   1. └─retrosheet::getRetrosheet("game", 2012, cache = "testdata") at test-getRetrosheet.R:57:4
   2.   └─httr::RETRY(...)
  ── 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 15001 milliseconds with 0 bytes received
  Backtrace:
      ▆
   1. └─retrosheet::getRetrosheet("play", 2012, "SFN", cache = "testdata") at test-getRetrosheet.R:69:4
   2.   └─httr::RETRY(...)
  ── Error (test-getTeamIDs.R:17: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 15001 milliseconds with 0 bytes received
  Backtrace:
      ▆
   1. └─retrosheet::getTeamIDs(1954) at test-getTeamIDs.R:17:4
   2.   └─httr::RETRY(...)
  ── Error (test-get_retrosheet.R:4:5): Caching works ────────────────────────────
  Error in `curl::curl_fetch_disk(url, x$path, handle = handle)`: Timeout was reached: [www.retrosheet.org] Operation timed out after 15001 milliseconds with 0 bytes received
  Backtrace:
      ▆
   1. └─retrosheet::get_retrosheet("schedule", 1995, cache = "testdata") at test-get_retrosheet.R:4:4
   2.   └─retrosheet::getRetrosheet(...)
   3.     └─httr::RETRY(...)
  ── Error (test-get_retrosheet.R:30:5): Schedule downloading works ──────────────
  Error in `unzip(tmp, list = TRUE)`: zip file 'testdata/schedule/1995SKED.ZIP' cannot be opened
  Backtrace:
      ▆
   1. └─retrosheet::get_retrosheet(type = "schedule", year = 1995, cache = "testdata") at test-get_retrosheet.R:30:4
   2.   └─retrosheet::getRetrosheet(...)
   3.     └─utils::unzip(tmp, list = TRUE)
  ── Error (test-get_retrosheet.R:47:5): Roster downloading works ────────────────
  Error in `curl::curl_fetch_disk(url, x$path, handle = handle)`: Timeout was reached: [www.retrosheet.org] Operation timed out after 15001 milliseconds with 0 bytes received
  Backtrace:
      ▆
   1. └─retrosheet::get_retrosheet("roster", 1995, cache = "testdata") at test-get_retrosheet.R:47:4
   2.   └─retrosheet::getRetrosheet(...)
   3.     └─httr::RETRY(...)
  ── Error (test-get_retrosheet.R:56:5): Game downloading works ──────────────────
  Error in `curl::curl_fetch_disk(url, x$path, handle = handle)`: Timeout was reached: [www.retrosheet.org] Operation timed out after 15001 milliseconds with 0 bytes received
  Backtrace:
      ▆
   1. └─retrosheet::get_retrosheet("game", 2012, cache = "testdata") at test-get_retrosheet.R:56:4
   2.   └─retrosheet::getRetrosheet(...)
   3.     └─httr::RETRY(...)
  ── Error (test-get_retrosheet.R:64: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 15001 milliseconds with 0 bytes received
  Backtrace:
      ▆
   1. └─retrosheet::get_retrosheet("play", 2012, "SFN", cache = "testdata") at test-get_retrosheet.R:64:4
   2.   └─retrosheet::getRetrosheet(...)
   3.     └─httr::RETRY(...)
  ── Error (test-get_retrosheet.R:75:5): Data is cleaned up as expected ──────────
  Error in `unzip(tmp, list = TRUE)`: zip file 'testdata/gamelogs/gl2012.zip' cannot be opened
  Backtrace:
      ▆
   1. └─retrosheet::get_retrosheet("game", 2012, cache = "testdata") at test-get_retrosheet.R:75:4
   2.   └─retrosheet::getRetrosheet(...)
   3.     └─utils::unzip(tmp, list = TRUE)
  
  [ FAIL 15 | WARN 0 | SKIP 1 | PASS 1 ]
  Error: Test failures
  Execution halted