tests/testthat/test-random_place.R

context("random_place")

test_that("random_place works as expected", {
  # Don't run these tests on the CRAN build servers
  skip_on_cran()

  random_place_result <- random_place()

  expect_that(random_place_result, is_a("data.frame"))
})
ropensci/PostcodesioR documentation built on April 21, 2023, 1:52 p.m.