Running ‘testthat.R’ [30s/39s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > # This file is part of the standard setup for testthat.
  > # It is recommended that you do not modify it.
  > #
  > # Where should you do additional test configuration?
  > # Learn more about the roles of various files in:
  > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
  > # * https://testthat.r-lib.org/articles/special-files.html
  > 
  > library(testthat)
  > library(cartographr)
  cartographr ready.
  > 
  > test_check("cartographr")
  [ FAIL 2 | WARN 0 | SKIP 0 | PASS 101 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-cartographr.R:103:3'): get_osmdata calculates x_distance and y_distance correctly ──
  <httr2_failure/httr2_error/rlang_error/error/condition>
  Error in `httr2::req_perform(req)`: Failed to perform HTTP request.
  Caused by error in `curl::curl_fetch_memory()`:
  ! Failed to connect to overpass.kumi.systems port 443 after 1250 ms: Could not connect to server
  Backtrace:
       ▆
    1. └─cartographr::get_osmdata(...) at test-cartographr.R:103:3
    2.   └─osmdata::osmdata_sf(query, quiet = TRUE)
    3.     └─osmdata:::fill_overpass_data(obj, doc, quiet = quiet)
    4.       └─osmdata:::overpass_query(...)
    5.         └─osmdata::overpass_status(quiet)
    6.           └─httr2::req_perform(req)
    7.             └─base::tryCatch(...)
    8.               └─base (local) tryCatchList(expr, classes, parentenv, handlers)
    9.                 └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   10.                   └─value[[3L]](cond)
  ── Error ('test-cartographr.R:109:3'): get_osmdata retrieves data without errors ──
  <httr2_failure/httr2_error/rlang_error/error/condition>
  Error in `httr2::req_perform(req)`: Failed to perform HTTP request.
  Caused by error in `curl::curl_fetch_memory()`:
  ! Failed to connect to overpass.kumi.systems port 443 after 1 ms: Could not connect to server
  Backtrace:
       ▆
    1. └─cartographr::get_osmdata(...) at test-cartographr.R:109:3
    2.   └─osmdata::osmdata_sf(query, quiet = TRUE)
    3.     └─osmdata:::fill_overpass_data(obj, doc, quiet = quiet)
    4.       └─osmdata:::overpass_query(...)
    5.         └─osmdata::overpass_status(quiet)
    6.           └─httr2::req_perform(req)
    7.             └─base::tryCatch(...)
    8.               └─base (local) tryCatchList(expr, classes, parentenv, handlers)
    9.                 └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   10.                   └─value[[3L]](cond)
  
  [ FAIL 2 | WARN 0 | SKIP 0 | PASS 101 ]
  Error: Test failures
  Execution halted