Running ‘testthat.R’ [1s/70s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(WikipediR)
  > library(testthat)
  > test_check("WikipediR")
  ── 1. Error: page categories can be retrieved through categories_in_page (@test_
  gnutls_handshake() failed: Error in the pull function.
  1: expect_true({
         categories_in_page("en", "wikipedia", page = "Barack Obama")
         TRUE
     }) at testthat/test_category_retrieval.R:4
  2: quasi_label(enquo(object), label, arg = "object")
  3: eval_bare(get_expr(quo), get_env(quo))
  4: categories_in_page("en", "wikipedia", page = "Barack Obama") at testthat/test_category_retrieval.R:4
  5: query(url, "pagecats", clean_response, query_param = query_param, ...)
  6: httr::GET(url, query = query_param, httr::user_agent("WikipediR - https://github.com/Ironholds/WikipediR"), 
         ...)
  7: request_perform(req, hu$handle$handle)
  8: request_fetch(req$output, req$url, handle)
  9: request_fetch.write_memory(req$output, req$url, handle)
  10: curl::curl_fetch_memory(url, handle = handle)
  
  ── 2. Error: Hidden page categories can be retrieved through categories_in_page 
  Timeout was reached: Connection timed out after 10008 milliseconds
  1: expect_true({
         categories_in_page("en", "wikipedia", page = "Barack Obama", show_hidden = T)
         TRUE
     }) at testthat/test_category_retrieval.R:8
  2: quasi_label(enquo(object), label, arg = "object")
  3: eval_bare(get_expr(quo), get_env(quo))
  4: categories_in_page("en", "wikipedia", page = "Barack Obama", show_hidden = T) at testthat/test_category_retrieval.R:8
  5: query(url, "pagecats", clean_response, query_param = query_param, ...)
  6: httr::GET(url, query = query_param, httr::user_agent("WikipediR - https://github.com/Ironholds/WikipediR"), 
         ...)
  7: request_perform(req, hu$handle$handle)
  8: request_fetch(req$output, req$url, handle)
  9: request_fetch.write_memory(req$output, req$url, handle)
  10: curl::curl_fetch_memory(url, handle = handle)
  
  ── 3. Error: Category members can be retrieved through categories_in_page (@test
  Timeout was reached: Operation timed out after 10000 milliseconds with 0 out of 0 bytes received
  1: expect_true({
         pages_in_category("en", "wikipedia", categories = "1920 births")
         TRUE
     }) at testthat/test_category_retrieval.R:12
  2: quasi_label(enquo(object), label, arg = "object")
  3: eval_bare(get_expr(quo), get_env(quo))
  4: pages_in_category("en", "wikipedia", categories = "1920 births") at testthat/test_category_retrieval.R:12
  5: query(url, "catpages", clean_response, query_param = query_param, ...)
  6: httr::GET(url, query = query_param, httr::user_agent("WikipediR - https://github.com/Ironholds/WikipediR"), 
         ...)
  7: request_perform(req, hu$handle$handle)
  8: request_fetch(req$output, req$url, handle)
  9: request_fetch.write_memory(req$output, req$url, handle)
  10: curl::curl_fetch_memory(url, handle = handle)
  
  ── 4. Error: Category members can be retrieved through categories_in_page (@test
  Timeout was reached: Operation timed out after 10001 milliseconds with 0 out of 0 bytes received
  1: expect_true({
         pages_in_category("en", "wikipedia", categories = "1920s births", type = "subcat")
         TRUE
     }) at testthat/test_category_retrieval.R:16
  2: quasi_label(enquo(object), label, arg = "object")
  3: eval_bare(get_expr(quo), get_env(quo))
  4: pages_in_category("en", "wikipedia", categories = "1920s births", type = "subcat") at testthat/test_category_retrieval.R:16
  5: query(url, "catpages", clean_response, query_param = query_param, ...)
  6: httr::GET(url, query = query_param, httr::user_agent("WikipediR - https://github.com/Ironholds/WikipediR"), 
         ...)
  7: request_perform(req, hu$handle$handle)
  8: request_fetch(req$output, req$url, handle)
  9: request_fetch.write_memory(req$output, req$url, handle)
  10: curl::curl_fetch_memory(url, handle = handle)
  
  ── 5. Error: page categories can be retrieved through categories_in_page  with n
  Timeout was reached: Connection timed out after 10000 milliseconds
  1: expect_true({
         categories_in_page("en", "wikipedia", page = "ポケモン")
         TRUE
     }) at testthat/test_category_retrieval.R:21
  2: quasi_label(enquo(object), label, arg = "object")
  3: eval_bare(get_expr(quo), get_env(quo))
  4: categories_in_page("en", "wikipedia", page = "ポケモン") at testthat/test_category_retrieval.R:21
  5: query(url, "pagecats", clean_response, query_param = query_param, ...)
  6: httr::GET(url, query = query_param, httr::user_agent("WikipediR - https://github.com/Ironholds/WikipediR"), 
         ...)
  7: request_perform(req, hu$handle$handle)
  8: request_fetch(req$output, req$url, handle)
  9: request_fetch.write_memory(req$output, req$url, handle)
  10: curl::curl_fetch_memory(url, handle = handle)
  
  ── 6. Error: Wikitext content can be retrieved through page_content (@test_conte
  Timeout was reached: Connection timed out after 10001 milliseconds
  1: expect_true({
         page_content("en", "wikipedia", page_name = "Barack Obama", as_wikitext = TRUE)
         TRUE
     }) at testthat/test_content_retrieval.R:4
  2: quasi_label(enquo(object), label, arg = "object")
  3: eval_bare(get_expr(quo), get_env(quo))
  4: page_content("en", "wikipedia", page_name = "Barack Obama", as_wikitext = TRUE) at testthat/test_content_retrieval.R:4
  5: query(url, "pcontent", clean_response, query_param = query_param, ...)
  6: httr::GET(url, query = query_param, httr::user_agent("WikipediR - https://github.com/Ironholds/WikipediR"), 
         ...)
  7: request_perform(req, hu$handle$handle)
  8: request_fetch(req$output, req$url, handle)
  9: request_fetch.write_memory(req$output, req$url, handle)
  10: curl::curl_fetch_memory(url, handle = handle)
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  [ OK: 17 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 6 ]
  1. Error: page categories can be retrieved through categories_in_page (@test_category_retrieval.R#4) 
  2. Error: Hidden page categories can be retrieved through categories_in_page (@test_category_retrieval.R#8) 
  3. Error: Category members can be retrieved through categories_in_page (@test_category_retrieval.R#12) 
  4. Error: Category members can be retrieved through categories_in_page (@test_category_retrieval.R#16) 
  5. Error: page categories can be retrieved through categories_in_page  with non-ASCII query (@test_category_retrieval.R#21) 
  6. Error: Wikitext content can be retrieved through page_content (@test_content_retrieval.R#4) 
  
  Error: testthat unit tests failed
  Execution halted