Running ‘testthat.R’ [21s/27s]
  Running ‘valgrind-test.R’ [0s/0s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(osmdata)
  Data (c) OpenStreetMap contributors, ODbL 1.0. https://www.openstreetmap.org/copyright
  > 
  > test_check("osmdata")
  [ FAIL 7 | WARN 0 | SKIP 0 | PASS 476 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-data_frame-osm.R:71'): empty result ────────────────────────────
  <httr2_http_502/httr2_http/rlang_error/error/condition>
  Error in `resp_abort(resp, error_body(req, resp))`: HTTP 502 Bad Gateway.
  Backtrace:
      ▆
   1. ├─... %>% add_osm_feature("does not exist", "&%$") at test-data_frame-osm.R:71:4
   2. ├─osmdata::add_osm_feature(., "does not exist", "&%$")
   3. ├─osmdata::opq(., nodes_only = TRUE, datetime = "1714-09-11T00:00:00Z")
   4. │ └─osmdata::bbox_to_string(bbox)
   5. └─osmdata::getbb("Països Catalans", featuretype = "relation")
   6.   └─osmdata:::get_nominatim_query(...)
   7.     └─httr2::req_perform(req)
   8.       └─httr2:::resp_abort(resp, error_body(req, resp))
   9.         └─rlang::abort(...)
  ── Error ('test-data_frame-osm.R:158'): date ───────────────────────────────────
  <httr2_http_502/httr2_http/rlang_error/error/condition>
  Error in `resp_abort(resp, error_body(req, resp))`: HTTP 502 Bad Gateway.
  Backtrace:
       ▆
    1. ├─... %>% add_osm_feature("name:ca") at test-data_frame-osm.R:158:4
    2. ├─osmdata::add_osm_feature(., "name:ca")
    3. ├─osmdata::add_osm_feature(., "prominence")
    4. ├─osmdata::add_osm_feature(., "natural", "peak")
    5. ├─osmdata::opq(., nodes_only = TRUE, datetime = "2020-11-07T00:00:00Z")
    6. │ └─osmdata::bbox_to_string(bbox)
    7. └─osmdata::getbb("Conflent", featuretype = "relation")
    8.   └─osmdata:::get_nominatim_query(...)
    9.     └─httr2::req_perform(req)
   10.       └─httr2:::resp_abort(resp, error_body(req, resp))
   11.         └─rlang::abort(...)
  ── Error ('test-data_frame-osm.R:196'): out meta & diff ────────────────────────
  <httr2_http_502/httr2_http/rlang_error/error/condition>
  Error in `resp_abort(resp, error_body(req, resp))`: HTTP 502 Bad Gateway.
  Backtrace:
       ▆
    1. ├─... %>% add_osm_feature("name:ca") at test-data_frame-osm.R:196:4
    2. ├─osmdata::add_osm_feature(., "name:ca")
    3. ├─osmdata::add_osm_feature(., "prominence")
    4. ├─osmdata::add_osm_feature(., "natural", "peak")
    5. ├─osmdata::opq(...)
    6. │ └─osmdata::bbox_to_string(bbox)
    7. └─osmdata::getbb("Conflent", featuretype = "relation")
    8.   └─osmdata:::get_nominatim_query(...)
    9.     └─httr2::req_perform(req)
   10.       └─httr2:::resp_abort(resp, error_body(req, resp))
   11.         └─rlang::abort(...)
  ── Error ('test-data_frame-osm.R:238'): out meta & adiff ───────────────────────
  <httr2_http_502/httr2_http/rlang_error/error/condition>
  Error in `resp_abort(resp, error_body(req, resp))`: HTTP 502 Bad Gateway.
  Backtrace:
       ▆
    1. ├─... %>% add_osm_feature("name:ca") at test-data_frame-osm.R:238:4
    2. ├─osmdata::add_osm_feature(., "name:ca")
    3. ├─osmdata::add_osm_feature(., "prominence")
    4. ├─osmdata::add_osm_feature(., "natural", "peak")
    5. ├─osmdata::opq(...)
    6. │ └─osmdata::bbox_to_string(bbox)
    7. └─osmdata::getbb("Conflent", featuretype = "relation")
    8.   └─osmdata:::get_nominatim_query(...)
    9.     └─httr2::req_perform(req)
   10.       └─httr2:::resp_abort(resp, error_body(req, resp))
   11.         └─rlang::abort(...)
  ── Error ('test-data_frame-osm.R:289'): adiff2 ─────────────────────────────────
  <httr2_http_502/httr2_http/rlang_error/error/condition>
  Error in `resp_abort(resp, error_body(req, resp))`: HTTP 502 Bad Gateway.
  Backtrace:
      ▆
   1. ├─... %>% add_osm_feature("amenity", "restaurant") at test-data_frame-osm.R:289:4
   2. ├─osmdata::add_osm_feature(., "amenity", "restaurant")
   3. ├─osmdata::opq(...)
   4. │ └─osmdata::bbox_to_string(bbox)
   5. └─osmdata::getbb("Perpinyà", featuretype = "relation")
   6.   └─osmdata:::get_nominatim_query(...)
   7.     └─httr2::req_perform(req)
   8.       └─httr2:::resp_abort(resp, error_body(req, resp))
   9.         └─rlang::abort(...)
  ── Failure ('test-getbb.R:67'): getbb-place_name ───────────────────────────────
  `getbb("Salzzburg")` threw an error with unexpected message.
  Expected match: "`place_name` 'Salzzburg' can't be found"
  Actual message: "HTTP 502 Bad Gateway."
  Backtrace:
       ▆
    1. ├─testthat::expect_error(getbb("Salzzburg"), "`place_name` 'Salzzburg' can't be found") at test-getbb.R:67:4
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat (local) .capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. └─osmdata::getbb("Salzzburg")
    7.   └─osmdata:::get_nominatim_query(...)
    8.     └─httr2::req_perform(req)
    9.       └─httr2:::resp_abort(resp, error_body(req, resp))
   10.         └─rlang::abort(...)
  ── Error ('test-osmdata.R:67'): add feature ────────────────────────────────────
  <httr2_http_502/httr2_http/rlang_error/error/condition>
  Error in `resp_abort(resp, error_body(req, resp))`: HTTP 502 Bad Gateway.
  Backtrace:
      ▆
   1. ├─opq("Vinçà") %>% add_osm_feature(key = c("name", "!name:ca")) at test-osmdata.R:67:4
   2. ├─osmdata::add_osm_feature(., key = c("name", "!name:ca"))
   3. └─osmdata::opq("Vinçà")
   4.   └─osmdata::bbox_to_string(bbox)
   5.     └─osmdata::getbb(bbox)
   6.       └─osmdata:::get_nominatim_query(...)
   7.         └─httr2::req_perform(req)
   8.           └─httr2:::resp_abort(resp, error_body(req, resp))
   9.             └─rlang::abort(...)
  
  [ FAIL 7 | WARN 0 | SKIP 0 | PASS 476 ]
  Error: Test failures
  Execution halted