tests/testthat/test-us_zipcodes.R

context("US Zipcodes")
require(sf)

test_that("Zipcodes functions returns an sf object", {
  expect_is(us_zipcodes(), "sf")
})

Try the USAboundaries package in your browser

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

USAboundaries documentation built on Oct. 12, 2021, 5:07 p.m.