tests/testthat/test-us_zipcodes.R

test_that("Zipcodes functions returns an sf object", {
  skip_if_not_installed("USAboundariesData")
  expect_s3_class(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 Jan. 30, 2026, 1:07 a.m.