Running 'testthat.R' [27s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(WikidataR)
  > 
  > test_check("WikidataR")
  [ FAIL 2 | WARN 0 | SKIP 0 | PASS 8 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test_gets.R:4:16'): A specific item can be retrieved with an entire item code ──
  Error in `curl::curl_fetch_memory(url, handle = handle)`: Timeout was reached: [wikidata.org] Failed to connect to wikidata.org port 443 after 10013 ms: Timeout was reached
  Backtrace:
       ▆
    1. ├─testthat::expect_true(...) at test_gets.R:4:3
    2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. └─WikidataR::get_item("Q100") at test_gets.R:4:16
    5.   └─base::lapply(id, wd_query, ...)
    6.     └─WikidataR (local) FUN(X[[i]], ...)
    7.       └─WikipediR::page_content(...)
    8.         └─WikipediR::query(...)
    9.           └─httr::GET(...)
   10.             └─httr:::request_perform(req, hu$handle$handle)
   11.               ├─httr:::request_fetch(req$output, req$url, handle)
   12.               └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   13.                 └─curl::curl_fetch_memory(url, handle = handle)
  ── Error ('test_gets.R:25:16'): A randomly-selected item can be retrieved ──────
  Error in `curl::curl_fetch_memory(url, handle = handle)`: Timeout was reached: [wikidata.org] Failed to connect to wikidata.org port 80 after 10006 ms: Timeout was reached
  Backtrace:
       ▆
    1. ├─testthat::expect_true(...) at test_gets.R:25:3
    2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. └─WikidataR::get_random_item() at test_gets.R:25:16
    5.   └─WikidataR::wd_rand_query(ns = 0, limit = limit, ...)
    6.     └─WikipediR::random_page(...)
    7.       └─base::lapply(...)
    8.         └─WikipediR (local) FUN(X[[i]], ...)
    9.           └─WikipediR::page_content(...)
   10.             └─WikipediR::query(...)
   11.               └─httr::GET(...)
   12.                 └─httr:::request_perform(req, hu$handle$handle)
   13.                   ├─httr:::request_fetch(req$output, req$url, handle)
   14.                   └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   15.                     └─curl::curl_fetch_memory(url, handle = handle)
  
  [ FAIL 2 | WARN 0 | SKIP 0 | PASS 8 ]
  Error: Test failures
  Execution halted