Running 'testthat.R' [47s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(WikidataR)
  > 
  > test_check("WikidataR")
  [ FAIL 10 | WARN 0 | SKIP 0 | PASS 0 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test_gets.R:4:3): 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] Resolving timed out after 10000 milliseconds
  Backtrace:
       ▆
    1. ├─testthat::expect_true(...) at test_gets.R:4:2
    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:15
    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:8:3): A specific item can be retrieved with a partial entire item code ──
  Error in `curl::curl_fetch_memory(url, handle = handle)`: Timeout was reached: [wikidata.org] Resolving timed out after 10000 milliseconds
  Backtrace:
       ▆
    1. ├─testthat::expect_true(...) at test_gets.R:8:2
    2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. └─WikidataR::get_item("100") at test_gets.R:8:15
    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:12:3): A specific property can be retrieved with an entire prop code + namespace ──
  Error in `curl::curl_fetch_memory(url, handle = handle)`: Could not resolve host: wikidata.org
  Backtrace:
       ▆
    1. ├─testthat::expect_true(...) at test_gets.R:12:2
    2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. └─WikidataR::get_property("Property:P10") at test_gets.R:12:15
    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:16:3): A specific property can be retrieved with an entire prop code + namespace ──
  Error in `curl::curl_fetch_memory(url, handle = handle)`: Could not resolve host: wikidata.org
  Backtrace:
       ▆
    1. ├─testthat::expect_true(...) at test_gets.R:16:2
    2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. └─WikidataR::get_property("P10") at test_gets.R:16:15
    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:21:3): A specific property can be retrieved with a partial prop code ──
  Error in `curl::curl_fetch_memory(url, handle = handle)`: Could not resolve host: wikidata.org
  Backtrace:
       ▆
    1. ├─testthat::expect_true(...) at test_gets.R:21:2
    2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. └─WikidataR::get_property("10") at test_gets.R:21:15
    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:3): A randomly-selected item can be retrieved ─────────
  Error in `curl::curl_fetch_memory(url, handle = handle)`: Could not resolve host: wikidata.org
  Backtrace:
       ▆
    1. ├─testthat::expect_true(...) at test_gets.R:25:2
    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:15
    5.   └─WikidataR::wd_rand_query(ns = 0, limit = limit, ...)
    6.     └─WikipediR::random_page(...)
    7.       └─WikipediR::query(url, NULL, FALSE, query_param = query_param)
    8.         └─httr::GET(...)
    9.           └─httr:::request_perform(req, hu$handle$handle)
   10.             ├─httr:::request_fetch(req$output, req$url, handle)
   11.             └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   12.               └─curl::curl_fetch_memory(url, handle = handle)
  ── Error (test_gets.R:29:3): A randomly-selected property can be retriveed ─────
  Error in `curl::curl_fetch_memory(url, handle = handle)`: Could not resolve host: wikidata.org
  Backtrace:
       ▆
    1. ├─testthat::expect_true(...) at test_gets.R:29:2
    2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. └─WikidataR::get_random_property() at test_gets.R:29:15
    5.   └─WikidataR::wd_rand_query(ns = 120, limit = limit, ...)
    6.     └─WikipediR::random_page(...)
    7.       └─WikipediR::query(url, NULL, FALSE, query_param = query_param)
    8.         └─httr::GET(...)
    9.           └─httr:::request_perform(req, hu$handle$handle)
   10.             ├─httr:::request_fetch(req$output, req$url, handle)
   11.             └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   12.               └─curl::curl_fetch_memory(url, handle = handle)
  ── Error (test_search.R:4:3): English-language search works ────────────────────
  Error in `curl::curl_fetch_memory(url, handle = handle)`: Timeout was reached: [www.wikidata.org] Resolving timed out after 10000 milliseconds
  Backtrace:
       ▆
    1. ├─testthat::expect_true(...) at test_search.R:4:2
    2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. └─WikidataR::find_item("Wonder Girls", "en") at test_search.R:4:15
    5.   └─WikidataR::searcher(search_term, language, limit, "item")
    6.     └─WikipediR::query(...)
    7.       └─httr::GET(...)
    8.         └─httr:::request_perform(req, hu$handle$handle)
    9.           ├─httr:::request_fetch(req$output, req$url, handle)
   10.           └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   11.             └─curl::curl_fetch_memory(url, handle = handle)
  ── Error (test_search.R:8:3): Non-English-language search works ────────────────
  Error in `curl::curl_fetch_memory(url, handle = handle)`: Timeout was reached: [www.wikidata.org] Resolving timed out after 10000 milliseconds
  Backtrace:
       ▆
    1. ├─testthat::expect_true(...) at test_search.R:8:2
    2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. └─WikidataR::find_item("Wonder Girls", "es") at test_search.R:8:15
    5.   └─WikidataR::searcher(search_term, language, limit, "item")
    6.     └─WikipediR::query(...)
    7.       └─httr::GET(...)
    8.         └─httr:::request_perform(req, hu$handle$handle)
    9.           ├─httr:::request_fetch(req$output, req$url, handle)
   10.           └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   11.             └─curl::curl_fetch_memory(url, handle = handle)
  ── Error (test_search.R:12:3): Property search works ───────────────────────────
  Error in `curl::curl_fetch_memory(url, handle = handle)`: Could not resolve host: www.wikidata.org
  Backtrace:
       ▆
    1. ├─testthat::expect_true(...) at test_search.R:12:2
    2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. └─WikidataR::find_property("Music", "en") at test_search.R:12:15
    5.   └─WikidataR::searcher(search_term, language, limit, "property")
    6.     └─WikipediR::query(...)
    7.       └─httr::GET(...)
    8.         └─httr:::request_perform(req, hu$handle$handle)
    9.           ├─httr:::request_fetch(req$output, req$url, handle)
   10.           └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   11.             └─curl::curl_fetch_memory(url, handle = handle)
  
  [ FAIL 10 | WARN 0 | SKIP 0 | PASS 0 ]
  Error: Test failures
  Execution halted