Running 'testthat.R' [40s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(WikidataR)
  > 
  > test_check("WikidataR")
  [ FAIL 7 | WARN 0 | SKIP 0 | PASS 3 ]
  
  == Failed tests ================================================================
  -- Error ('test_gets.R:4'): 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 80 after 5222 ms: Timed out
  Backtrace:
       x
    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'): 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] Failed to connect to wikidata.org port 80 after 5206 ms: Timed out
  Backtrace:
       x
    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'): A specific property can be retrieved with an entire prop code + namespace --
  Error in `curl::curl_fetch_memory(url, handle = handle)`: Timeout was reached: [wikidata.org] Failed to connect to wikidata.org port 80 after 5207 ms: Timed out
  Backtrace:
       x
    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'): A specific property can be retrieved with an entire prop code + namespace --
  Error in `curl::curl_fetch_memory(url, handle = handle)`: Timeout was reached: [wikidata.org] Failed to connect to wikidata.org port 80 after 5220 ms: Timed out
  Backtrace:
       x
    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'): A specific property can be retrieved with a partial prop code --
  Error in `curl::curl_fetch_memory(url, handle = handle)`: Timeout was reached: [wikidata.org] Failed to connect to wikidata.org port 80 after 5222 ms: Timed out
  Backtrace:
       x
    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'): 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 5221 ms: Timed out
  Backtrace:
       x
    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'): A randomly-selected property can be retriveed -----
  Error in `curl::curl_fetch_memory(url, handle = handle)`: Timeout was reached: [wikidata.org] Failed to connect to wikidata.org port 80 after 5205 ms: Timed out
  Backtrace:
       x
    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)
  
  [ FAIL 7 | WARN 0 | SKIP 0 | PASS 3 ]
  Error: Test failures
  Execution halted