Running 'testthat.R' [62s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(WikidataR)
  > 
  > test_check("WikidataR")
  -- 1. Error: A specific item can be retrieved with an entire item code (@test_ge
  Failed to connect to wikidata.org port 80: Timed out
  Backtrace:
    1. testthat::expect_true(...)
    4. WikidataR::get_item("Q100")
    5. base::lapply(id, wd_query, ...)
    6. WikidataR:::FUN(X[[i]], ...)
    7. WikipediR::page_content(...)
    8. WikipediR::query(...)
    9. httr::GET(...)
   10. httr:::request_perform(req, hu$handle$handle)
   12. httr:::request_fetch.write_memory(req$output, req$url, handle)
   13. curl::curl_fetch_memory(url, handle = handle)
  
  -- 2. Error: A specific item can be retrieved with a partial entire item code (@
  Failed to connect to wikidata.org port 80: Timed out
  Backtrace:
    1. testthat::expect_true(...)
    4. WikidataR::get_item("100")
    5. base::lapply(id, wd_query, ...)
    6. WikidataR:::FUN(X[[i]], ...)
    7. WikipediR::page_content(...)
    8. WikipediR::query(...)
    9. httr::GET(...)
   10. httr:::request_perform(req, hu$handle$handle)
   12. httr:::request_fetch.write_memory(req$output, req$url, handle)
   13. curl::curl_fetch_memory(url, handle = handle)
  
  -- 3. Error: A specific property can be retrieved with an entire prop code + nam
  Failed to connect to wikidata.org port 80: Timed out
  Backtrace:
    1. testthat::expect_true(...)
    4. WikidataR::get_property("Property:P10")
    5. base::lapply(id, wd_query, ...)
    6. WikidataR:::FUN(X[[i]], ...)
    7. WikipediR::page_content(...)
    8. WikipediR::query(...)
    9. httr::GET(...)
   10. httr:::request_perform(req, hu$handle$handle)
   12. httr:::request_fetch.write_memory(req$output, req$url, handle)
   13. curl::curl_fetch_memory(url, handle = handle)
  
  -- 4. Error: A specific property can be retrieved with an entire prop code + nam
  Failed to connect to wikidata.org port 80: Timed out
  Backtrace:
    1. testthat::expect_true(...)
    4. WikidataR::get_property("P10")
    5. base::lapply(id, wd_query, ...)
    6. WikidataR:::FUN(X[[i]], ...)
    7. WikipediR::page_content(...)
    8. WikipediR::query(...)
    9. httr::GET(...)
   10. httr:::request_perform(req, hu$handle$handle)
   12. httr:::request_fetch.write_memory(req$output, req$url, handle)
   13. curl::curl_fetch_memory(url, handle = handle)
  
  -- 5. Error: A specific property can be retrieved with a partial prop code (@tes
  Failed to connect to wikidata.org port 80: Timed out
  Backtrace:
    1. testthat::expect_true(...)
    4. WikidataR::get_property("10")
    5. base::lapply(id, wd_query, ...)
    6. WikidataR:::FUN(X[[i]], ...)
    7. WikipediR::page_content(...)
    8. WikipediR::query(...)
    9. httr::GET(...)
   10. httr:::request_perform(req, hu$handle$handle)
   12. httr:::request_fetch.write_memory(req$output, req$url, handle)
   13. curl::curl_fetch_memory(url, handle = handle)
  
  -- 6. Error: A randomly-selected item can be retrieved (@test_gets.R#25)  ------
  Failed to connect to wikidata.org port 80: Timed out
  Backtrace:
    1. testthat::expect_true(...)
    4. WikidataR::get_random_item()
    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)
   11. httr:::request_fetch.write_memory(req$output, req$url, handle)
   12. curl::curl_fetch_memory(url, handle = handle)
  
  -- 7. Error: A randomly-selected property can be retriveed (@test_gets.R#29)  --
  Failed to connect to wikidata.org port 80: Timed out
  Backtrace:
    1. testthat::expect_true(...)
    4. WikidataR::get_random_property()
    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)
   11. httr:::request_fetch.write_memory(req$output, req$url, handle)
   12. curl::curl_fetch_memory(url, handle = handle)
  
  == testthat results  ===========================================================
  [ OK: 20 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 7 ]
  1. Error: A specific item can be retrieved with an entire item code (@test_gets.R#4) 
  2. Error: A specific item can be retrieved with a partial entire item code (@test_gets.R#8) 
  3. Error: A specific property can be retrieved with an entire prop code + namespace (@test_gets.R#12) 
  4. Error: A specific property can be retrieved with an entire prop code + namespace (@test_gets.R#16) 
  5. Error: A specific property can be retrieved with a partial prop code (@test_gets.R#21) 
  6. Error: A randomly-selected item can be retrieved (@test_gets.R#25) 
  7. Error: A randomly-selected property can be retriveed (@test_gets.R#29) 
  
  Error: testthat unit tests failed
  Execution halted