Running ‘testthat.R’ [2s/13s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(internetarchive)
  > 
  > test_check("internetarchive")
  ── 1. Error: (unknown) (@test-files-download.R#5)  ─────────────────────────────
  Timeout was reached: Operation timed out after 10005 milliseconds with 0 out of 0 bytes received
  1: ia_get_items("TheLifeOfFatherHecker", silence = TRUE) at testthat/test-files-download.R:5
  2: do.call("mapply", c(FUN = FUN, args[dovec], MoreArgs = list(args[!dovec]), SIMPLIFY = SIMPLIFY, 
         USE.NAMES = USE.NAMES))
  3: mapply(FUN = function (item_id, silence = FALSE) 
     {
         path <- paste("details", item_id, sep = "/")
         if (!silence) 
             message(paste("Getting", item_id))
         req <- GET("https://archive.org/", path = path, query = list(output = "json"))
         warn_for_status(req)
         result <- content(req, as = "parsed", encoding = "UTF-8")
         result
     }, item_id = "TheLifeOfFatherHecker", silence = TRUE, MoreArgs = structure(list(), .Names = character(0)), 
         SIMPLIFY = FALSE, USE.NAMES = TRUE)
  4: (function (item_id, silence = FALSE) 
     {
         path <- paste("details", item_id, sep = "/")
         if (!silence) 
             message(paste("Getting", item_id))
         req <- GET("https://archive.org/", path = path, query = list(output = "json"))
         warn_for_status(req)
         result <- content(req, as = "parsed", encoding = "UTF-8")
         result
     })(item_id = dots[[1L]][[1L]], silence = dots[[2L]][[1L]])
  5: GET("https://archive.org/", path = path, query = list(output = "json"))
  6: request_perform(req, hu$handle$handle)
  7: request_fetch(req$output, req$url, handle)
  8: request_fetch.write_memory(req$output, req$url, handle)
  9: curl::curl_fetch_memory(url, handle = handle)
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  OK: 11 SKIPPED: 0 FAILED: 1
  1. Error: (unknown) (@test-files-download.R#5) 
  
  Error: testthat unit tests failed
  Execution halted