tests/testthat/test-get-boundary.R

test_that("oe_get_network: simplest examples work", {
  withr::local_envvar(
    .new = list(
      "OSMEXT_DOWNLOAD_DIRECTORY" = tempdir(),
      "TESTTHAT" = "true"
    )
  )
  its_pbf = setup_pbf()

  expect_error(oe_get_boundary("ITS Leeds", quiet = TRUE), NA)
})
ITSLeeds/osmextractr documentation built on Sept. 23, 2024, 3:37 a.m.