Running 'testthat.R' [223s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(WikipediR)
  > library(testthat)
  > test_check("WikipediR")
  [ FAIL 22 | WARN 0 | SKIP 0 | PASS 0 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test_category_retrieval.R:4:3): page categories can be retrieved through categories_in_page ──
  Error in `curl::curl_fetch_memory(url, handle = handle)`: Timeout was reached: [en.wikipedia.org] Resolving timed out after 10000 milliseconds
  Backtrace:
       ▆
    1. ├─testthat::expect_true(...) at test_category_retrieval.R:4:2
    2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. └─WikipediR::categories_in_page("en", "wikipedia", page = "Barack Obama") at test_category_retrieval.R:4:15
    5.   └─WikipediR::query(...)
    6.     └─httr::GET(...)
    7.       └─httr:::request_perform(req, hu$handle$handle)
    8.         ├─httr:::request_fetch(req$output, req$url, handle)
    9.         └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   10.           └─curl::curl_fetch_memory(url, handle = handle)
  ── Error (test_category_retrieval.R:8:3): Hidden page categories can be retrieved through categories_in_page ──
  Error in `curl::curl_fetch_memory(url, handle = handle)`: Timeout was reached: [en.wikipedia.org] Connection timed out after 10012 milliseconds
  Backtrace:
       ▆
    1. ├─testthat::expect_true(...) at test_category_retrieval.R:8:2
    2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. └─WikipediR::categories_in_page(...) at test_category_retrieval.R:8:15
    5.   └─WikipediR::query(...)
    6.     └─httr::GET(...)
    7.       └─httr:::request_perform(req, hu$handle$handle)
    8.         ├─httr:::request_fetch(req$output, req$url, handle)
    9.         └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   10.           └─curl::curl_fetch_memory(url, handle = handle)
  ── Error (test_category_retrieval.R:12:3): Category members can be retrieved through categories_in_page ──
  Error in `curl::curl_fetch_memory(url, handle = handle)`: Timeout was reached: [en.wikipedia.org] Connection timed out after 10006 milliseconds
  Backtrace:
       ▆
    1. ├─testthat::expect_true(...) at test_category_retrieval.R:12:2
    2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. └─WikipediR::pages_in_category("en", "wikipedia", categories = "1920 births") at test_category_retrieval.R:12:15
    5.   └─WikipediR::query(...)
    6.     └─httr::GET(...)
    7.       └─httr:::request_perform(req, hu$handle$handle)
    8.         ├─httr:::request_fetch(req$output, req$url, handle)
    9.         └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   10.           └─curl::curl_fetch_memory(url, handle = handle)
  ── Error (test_category_retrieval.R:16:3): Category members can be retrieved through categories_in_page ──
  Error in `curl::curl_fetch_memory(url, handle = handle)`: Timeout was reached: [en.wikipedia.org] Operation timed out after 10009 milliseconds with 0 out of 0 bytes received
  Backtrace:
       ▆
    1. ├─testthat::expect_true(...) at test_category_retrieval.R:16:2
    2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. └─WikipediR::pages_in_category(...) at test_category_retrieval.R:16:15
    5.   └─WikipediR::query(...)
    6.     └─httr::GET(...)
    7.       └─httr:::request_perform(req, hu$handle$handle)
    8.         ├─httr:::request_fetch(req$output, req$url, handle)
    9.         └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   10.           └─curl::curl_fetch_memory(url, handle = handle)
  ── Error (test_category_retrieval.R:21:3): page categories can be retrieved through categories_in_page  with non-ASCII query ──
  Error in `curl::curl_fetch_memory(url, handle = handle)`: Timeout was reached: [en.wikipedia.org] Connection timed out after 10009 milliseconds
  Backtrace:
       ▆
    1. ├─testthat::expect_true(...) at test_category_retrieval.R:21:2
    2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. └─WikipediR::categories_in_page("en", "wikipedia", page = "ポケモン") at test_category_retrieval.R:21:15
    5.   └─WikipediR::query(...)
    6.     └─httr::GET(...)
    7.       └─httr:::request_perform(req, hu$handle$handle)
    8.         ├─httr:::request_fetch(req$output, req$url, handle)
    9.         └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   10.           └─curl::curl_fetch_memory(url, handle = handle)
  ── Error (test_content_retrieval.R:4:3): Wikitext content can be retrieved through page_content ──
  Error in `curl::curl_fetch_memory(url, handle = handle)`: Timeout was reached: [en.wikipedia.org] Connection timed out after 10006 milliseconds
  Backtrace:
       ▆
    1. ├─testthat::expect_true(...) at test_content_retrieval.R:4:2
    2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. └─WikipediR::page_content(...) at test_content_retrieval.R:4:15
    5.   └─WikipediR::query(...)
    6.     └─httr::GET(...)
    7.       └─httr:::request_perform(req, hu$handle$handle)
    8.         ├─httr:::request_fetch(req$output, req$url, handle)
    9.         └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   10.           └─curl::curl_fetch_memory(url, handle = handle)
  ── Error (test_content_retrieval.R:9:3): HTML content can be retrieved through page_content ──
  Error in `curl::curl_fetch_memory(url, handle = handle)`: Timeout was reached: [en.wikipedia.org] Connection timed out after 10002 milliseconds
  Backtrace:
       ▆
    1. ├─testthat::expect_true(...) at test_content_retrieval.R:9:2
    2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. └─WikipediR::page_content(...) at test_content_retrieval.R:9:15
    5.   └─WikipediR::query(...)
    6.     └─httr::GET(...)
    7.       └─httr:::request_perform(req, hu$handle$handle)
    8.         ├─httr:::request_fetch(req$output, req$url, handle)
    9.         └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   10.           └─curl::curl_fetch_memory(url, handle = handle)
  ── Error (test_content_retrieval.R:14:3): HTML content can be retrieved through revision_content ──
  Error in `curl::curl_fetch_memory(url, handle = handle)`: Timeout was reached: [en.wikipedia.org] Connection timed out after 10009 milliseconds
  Backtrace:
       ▆
    1. ├─testthat::expect_true(...) at test_content_retrieval.R:14:2
    2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. └─WikipediR::revision_content("en", "wikipedia", revisions = "102342934") at test_content_retrieval.R:14:15
    5.   └─WikipediR::query(...)
    6.     └─httr::GET(...)
    7.       └─httr:::request_perform(req, hu$handle$handle)
    8.         ├─httr:::request_fetch(req$output, req$url, handle)
    9.         └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   10.           └─curl::curl_fetch_memory(url, handle = handle)
  ── Error (test_content_retrieval.R:18:3): Diffs can be retrieved through revision_content ──
  Error in `curl::curl_fetch_memory(url, handle = handle)`: Timeout was reached: [en.wikipedia.org] Connection timed out after 10008 milliseconds
  Backtrace:
       ▆
    1. ├─testthat::expect_true(...) at test_content_retrieval.R:18:2
    2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. └─WikipediR::revision_diff(...) at test_content_retrieval.R:18:15
    5.   └─WikipediR::query(...)
    6.     └─httr::GET(...)
    7.       └─httr:::request_perform(req, hu$handle$handle)
    8.         ├─httr:::request_fetch(req$output, req$url, handle)
    9.         └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   10.           └─curl::curl_fetch_memory(url, handle = handle)
  ── Error (test_content_retrieval.R:23:3): Wikitext content can be retrieved through page_content with non-ASCII query ──
  Error in `curl::curl_fetch_memory(url, handle = handle)`: Timeout was reached: [en.wikipedia.org] Connection timed out after 10011 milliseconds
  Backtrace:
       ▆
    1. ├─testthat::expect_true(...) at test_content_retrieval.R:23:2
    2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. └─WikipediR::page_content(...) at test_content_retrieval.R:23:15
    5.   └─WikipediR::query(...)
    6.     └─httr::GET(...)
    7.       └─httr:::request_perform(req, hu$handle$handle)
    8.         ├─httr:::request_fetch(req$output, req$url, handle)
    9.         └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   10.           └─curl::curl_fetch_memory(url, handle = handle)
  ── Error (test_metadata_retrieval.R:4:3): backlinks can be retrieved through page_backlinks ──
  Error in `curl::curl_fetch_memory(url, handle = handle)`: Timeout was reached: [en.wikipedia.org] Connection timed out after 10006 milliseconds
  Backtrace:
       ▆
    1. ├─testthat::expect_true(...) at test_metadata_retrieval.R:4:2
    2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. └─WikipediR::page_backlinks("en", "wikipedia", page = "Aaron Halfaker") at test_metadata_retrieval.R:4:15
    5.   └─WikipediR::query(...)
    6.     └─httr::GET(...)
    7.       └─httr:::request_perform(req, hu$handle$handle)
    8.         ├─httr:::request_fetch(req$output, req$url, handle)
    9.         └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   10.           └─curl::curl_fetch_memory(url, handle = handle)
  ── Error (test_metadata_retrieval.R:8:3): backlinks from a specific namespace can be retrieved through page_backlinks ──
  Error in `curl::curl_fetch_memory(url, handle = handle)`: Timeout was reached: [en.wikipedia.org] Connection timed out after 10013 milliseconds
  Backtrace:
       ▆
    1. ├─testthat::expect_true(...) at test_metadata_retrieval.R:8:2
    2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. └─WikipediR::page_backlinks(...) at test_metadata_retrieval.R:8:15
    5.   └─WikipediR::query(...)
    6.     └─httr::GET(...)
    7.       └─httr:::request_perform(req, hu$handle$handle)
    8.         ├─httr:::request_fetch(req$output, req$url, handle)
    9.         └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   10.           └─curl::curl_fetch_memory(url, handle = handle)
  ── Error (test_metadata_retrieval.R:12:3): links can be retrieved through page_links ──
  Error in `curl::curl_fetch_memory(url, handle = handle)`: Timeout was reached: [en.wikipedia.org] Connection timed out after 10003 milliseconds
  Backtrace:
       ▆
    1. ├─testthat::expect_true(...) at test_metadata_retrieval.R:12:2
    2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. └─WikipediR::page_links("en", "wikipedia", page = "Aaron Halfaker") at test_metadata_retrieval.R:12:15
    5.   └─WikipediR::query(...)
    6.     └─httr::GET(...)
    7.       └─httr:::request_perform(req, hu$handle$handle)
    8.         ├─httr:::request_fetch(req$output, req$url, handle)
    9.         └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   10.           └─curl::curl_fetch_memory(url, handle = handle)
  ── Error (test_metadata_retrieval.R:16:3): links from a specific namespace can be retrieved through page_links ──
  Error in `curl::curl_fetch_memory(url, handle = handle)`: Timeout was reached: [en.wikipedia.org] Connection timed out after 10014 milliseconds
  Backtrace:
       ▆
    1. ├─testthat::expect_true(...) at test_metadata_retrieval.R:16:2
    2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. └─WikipediR::page_links(...) at test_metadata_retrieval.R:16:15
    5.   └─WikipediR::query(...)
    6.     └─httr::GET(...)
    7.       └─httr:::request_perform(req, hu$handle$handle)
    8.         ├─httr:::request_fetch(req$output, req$url, handle)
    9.         └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   10.           └─curl::curl_fetch_memory(url, handle = handle)
  ── Error (test_metadata_retrieval.R:20:3): external links can be retrieved through page_links ──
  Error in `curl::curl_fetch_memory(url, handle = handle)`: Timeout was reached: [en.wikipedia.org] Connection timed out after 10008 milliseconds
  Backtrace:
       ▆
    1. ├─testthat::expect_true(...) at test_metadata_retrieval.R:20:2
    2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. └─WikipediR::page_external_links("en", "wikipedia", page = "Aaron Halfaker") at test_metadata_retrieval.R:20:15
    5.   └─WikipediR::query(...)
    6.     └─httr::GET(...)
    7.       └─httr:::request_perform(req, hu$handle$handle)
    8.         ├─httr:::request_fetch(req$output, req$url, handle)
    9.         └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   10.           └─curl::curl_fetch_memory(url, handle = handle)
  ── Error (test_metadata_retrieval.R:24:3): external links with a particular protocol can be retrieved through page_links ──
  Error in `curl::curl_fetch_memory(url, handle = handle)`: Timeout was reached: [en.wikipedia.org] Operation timed out after 10008 milliseconds with 0 out of 0 bytes received
  Backtrace:
       ▆
    1. ├─testthat::expect_true(...) at test_metadata_retrieval.R:24:2
    2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. └─WikipediR::page_external_links(...) at test_metadata_retrieval.R:24:15
    5.   └─WikipediR::query(...)
    6.     └─httr::GET(...)
    7.       └─httr:::request_perform(req, hu$handle$handle)
    8.         ├─httr:::request_fetch(req$output, req$url, handle)
    9.         └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   10.           └─curl::curl_fetch_memory(url, handle = handle)
  ── Error (test_metadata_retrieval.R:28:3): page info can be retrieved through page_info ──
  Error in `curl::curl_fetch_memory(url, handle = handle)`: Timeout was reached: [en.wikipedia.org] Connection timed out after 10007 milliseconds
  Backtrace:
       ▆
    1. ├─testthat::expect_true(...) at test_metadata_retrieval.R:28:2
    2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. └─WikipediR::page_info("en", "wikipedia", page = "Aaron Halfaker") at test_metadata_retrieval.R:28:15
    5.   └─WikipediR::query(...)
    6.     └─httr::GET(...)
    7.       └─httr:::request_perform(req, hu$handle$handle)
    8.         ├─httr:::request_fetch(req$output, req$url, handle)
    9.         └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   10.           └─curl::curl_fetch_memory(url, handle = handle)
  ── Error (test_metadata_retrieval.R:32:3): page info with specified params can be retrieved through page_info ──
  Error in `curl::curl_fetch_memory(url, handle = handle)`: Timeout was reached: [en.wikipedia.org] Connection timed out after 10011 milliseconds
  Backtrace:
       ▆
    1. ├─testthat::expect_true(...) at test_metadata_retrieval.R:32:2
    2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. └─WikipediR::page_info(...) at test_metadata_retrieval.R:32:15
    5.   └─WikipediR::query(...)
    6.     └─httr::GET(...)
    7.       └─httr:::request_perform(req, hu$handle$handle)
    8.         ├─httr:::request_fetch(req$output, req$url, handle)
    9.         └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   10.           └─curl::curl_fetch_memory(url, handle = handle)
  ── Error (test_recent_changes.R:4:3): Recentchanges feed entries can be retrieved through recent_changes ──
  Error in `curl::curl_fetch_memory(url, handle = handle)`: Timeout was reached: [en.wikipedia.org] Connection timed out after 10001 milliseconds
  Backtrace:
       ▆
    1. ├─testthat::expect_true(...) at test_recent_changes.R:4:2
    2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. └─WikipediR::recent_changes("en", "wikipedia", limit = 1) at test_recent_changes.R:4:15
    5.   └─WikipediR::query(...)
    6.     └─httr::GET(...)
    7.       └─httr:::request_perform(req, hu$handle$handle)
    8.         ├─httr:::request_fetch(req$output, req$url, handle)
    9.         └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   10.           └─curl::curl_fetch_memory(url, handle = handle)
  ── Error (test_recent_changes.R:8:3): recent_changes respects tags ─────────────
  Error in `curl::curl_fetch_memory(url, handle = handle)`: Timeout was reached: [en.wikipedia.org] Connection timed out after 10008 milliseconds
  Backtrace:
       ▆
    1. ├─testthat::expect_true(...) at test_recent_changes.R:8:2
    2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. └─WikipediR::recent_changes("en", "wikipedia", limit = 1, tag = "mobile edit") at test_recent_changes.R:8:15
    5.   └─WikipediR::query(...)
    6.     └─httr::GET(...)
    7.       └─httr:::request_perform(req, hu$handle$handle)
    8.         ├─httr:::request_fetch(req$output, req$url, handle)
    9.         └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   10.           └─curl::curl_fetch_memory(url, handle = handle)
  ── Error (test_recent_changes.R:12:3): recent_changes respects types ───────────
  Error in `curl::curl_fetch_memory(url, handle = handle)`: Timeout was reached: [en.wikipedia.org] Connection timed out after 10002 milliseconds
  Backtrace:
       ▆
    1. ├─testthat::expect_true(...) at test_recent_changes.R:12:2
    2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. └─WikipediR::recent_changes("en", "wikipedia", limit = 1, type = "new") at test_recent_changes.R:12:15
    5.   └─WikipediR::query(...)
    6.     └─httr::GET(...)
    7.       └─httr:::request_perform(req, hu$handle$handle)
    8.         ├─httr:::request_fetch(req$output, req$url, handle)
    9.         └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   10.           └─curl::curl_fetch_memory(url, handle = handle)
  ── Error (test_recent_changes.R:16:3): recent_changes respects directional changes ──
  Error in `curl::curl_fetch_memory(url, handle = handle)`: Timeout was reached: [en.wikipedia.org] Connection timed out after 10011 milliseconds
  Backtrace:
       ▆
    1. ├─testthat::expect_true(...) at test_recent_changes.R:16:2
    2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. └─WikipediR::recent_changes("en", "wikipedia", limit = 1, top = TRUE) at test_recent_changes.R:16:15
    5.   └─WikipediR::query(...)
    6.     └─httr::GET(...)
    7.       └─httr:::request_perform(req, hu$handle$handle)
    8.         ├─httr:::request_fetch(req$output, req$url, handle)
    9.         └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   10.           └─curl::curl_fetch_memory(url, handle = handle)
  
  [ FAIL 22 | WARN 0 | SKIP 0 | PASS 0 ]
  Error: Test failures
  Execution halted