Running ‘testthat.R’ [2s/13s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(polite)
  > 
  > test_check("polite")
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test_bow.R:5:2): Bow warns about disallowed url ──────────────────────
  Error in `curl::curl_fetch_memory(url, handle = handle)`: Timeout was reached: [www.wikipedia.org] Failed to connect to www.wikipedia.org port 443: Connection timed out
  Backtrace:
       █
    1. ├─testthat::expect_warning(...) test_bow.R:5:1
    2. │ └─testthat:::quasi_capture(enquo(object), label, capture_warnings)
    3. │   ├─testthat:::.capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. └─polite::bow("https://www.wikipedia.org/w/", verbose = TRUE)
    7.   └─robotstxt::robotstxt(...)
    8.     └─robotstxt::get_robotstxt(...)
    9.       └─robotstxt:::rt_robotstxt_http_getter(...)
   10.         └─httr::GET(...)
   11.           └─httr:::request_perform(req, hu$handle$handle)
   12.             ├─httr:::request_fetch(req$output, req$url, handle)
   13.             └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   14.               └─curl::curl_fetch_memory(url, handle = handle)
  ── Error (test_nod.R:5:3): Nod warns about disallowed url ──────────────────────
  Error in `curl::curl_fetch_memory(url, handle = handle)`: Timeout was reached: [www.wikipedia.org] Failed to connect to www.wikipedia.org port 443: Connection timed out
  Backtrace:
       █
    1. ├─testthat::expect_warning(...) test_nod.R:5:2
    2. │ └─testthat:::quasi_capture(enquo(object), label, capture_warnings)
    3. │   ├─testthat:::.capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. ├─polite::nod(bow("https://www.wikipedia.org/"), path = "w/", verbose = TRUE)
    7. └─polite::bow("https://www.wikipedia.org/")
    8.   └─robotstxt::robotstxt(...)
    9.     └─robotstxt::get_robotstxt(...)
   10.       └─robotstxt:::rt_robotstxt_http_getter(...)
   11.         └─httr::GET(...)
   12.           └─httr:::request_perform(req, hu$handle$handle)
   13.             ├─httr:::request_fetch(req$output, req$url, handle)
   14.             └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   15.               └─curl::curl_fetch_memory(url, handle = handle)
  
  [ FAIL 2 | WARN 0 | SKIP 0 | PASS 0 ]
  Error: Test failures
  Execution halted