Running ‘testthat.R’ [23s/55s]
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()`:
  ! Timeout was reached [overpass.kumi.systems]:
  Resolving timed out after 10001 milliseconds
  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.             └─httr2:::handle_resp(req, resp, error_call = error_call)
   8.               └─rlang::cnd_signal(resp)
  ── 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()`:
  ! Timeout was reached [overpass.kumi.systems]:
  Resolving timed out after 10001 milliseconds
  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.             └─httr2:::handle_resp(req, resp, error_call = error_call)
   8.               └─rlang::cnd_signal(resp)
  
  [ FAIL 2 | WARN 0 | SKIP 0 | PASS 101 ]
  Error: Test failures
  Execution halted