tests/testthat/test-neighbourhood-boundary.R

context("test-neighbourhood-boundary")

test_that("neighbourhood boundaries work", {
  skip_on_cran()

  borders <- ukc_neighbourhood_boundary("dorset", "55.CB3001")
  expect_length(borders, 2)

  expect_error(ukc_neighbourhood_boundary())
})

Try the ukpolice package in your browser

Any scripts or data that you put into this service are public.

ukpolice documentation built on Aug. 3, 2020, 5:09 p.m.