Running ‘testthat.R’ [2s/13s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(WikipediR)
  > library(testthat)
  > test_check("WikipediR")
  [ FAIL 1 | WARN 0 | SKIP 21 | PASS 0 ]
  
  ══ Skipped tests (21) ══════════════════════════════════════════════════════════
  • On CRAN (21): 'test_category_retrieval.R:4:3',
    'test_category_retrieval.R:9:3', 'test_category_retrieval.R:14:3',
    'test_category_retrieval.R:19:3', 'test_category_retrieval.R:24:3',
    'test_content_retrieval.R:4:3', 'test_content_retrieval.R:10:3',
    'test_content_retrieval.R:16:3', 'test_content_retrieval.R:21:3',
    'test_content_retrieval.R:26:3', 'test_metadata_retrieval.R:4:3',
    'test_metadata_retrieval.R:9:3', 'test_metadata_retrieval.R:14:3',
    'test_metadata_retrieval.R:19:3', 'test_metadata_retrieval.R:24:3',
    'test_metadata_retrieval.R:29:3', 'test_metadata_retrieval.R:34:3',
    'test_recent_changes.R:4:3', 'test_recent_changes.R:9:3',
    'test_recent_changes.R:14:3', 'test_recent_changes.R:19:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test_metadata_retrieval.R:39:16'): 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] Failed to connect to en.wikipedia.org port 443 after 10002 ms: Timeout was reached
  Backtrace:
       ▆
    1. ├─testthat::expect_true(...) at test_metadata_retrieval.R:39:3
    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:39:16
    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 1 | WARN 0 | SKIP 21 | PASS 0 ]
  Error: Test failures
  Execution halted