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"))
})

Try the PostcodesioR package in your browser

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

PostcodesioR documentation built on March 18, 2022, 8:04 p.m.