tests/testthat/test-xy_to_points.R

test_that("creates points", {
  expect_equal(class(xy_to_points()),
               c("sf", "tbl_df", "tbl", "data.frame"))
  expect_equal(sf::st_is(xy_to_points(), "POINT"), TRUE)

})
MatthewJWhittle/spatialutils documentation built on March 16, 2023, 11:30 p.m.