tests/testthat/test-sp_frame.R

test_that("sp_frame works", {
  NE_Lakes <- sp_frame(NE_Lakes)
  expect_s3_class(NE_Lakes, "sp_frame")
  NE_Lakes <- sp_unframe(NE_Lakes)
  expect_true(!inherits(NE_Lakes, "sp_frame"))
})

Try the spsurvey package in your browser

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

spsurvey documentation built on May 31, 2023, 6:25 p.m.