tests/testthat/test-buff_voronoi.R

test_that("buff_voronoi works", {
        buf_centers <- buff_voronoi(centers_epp, id = 'id', w_buff = 1000, crs = sp::CRS("+init=epsg:32721"))
        expect_s4_class(buf_centers, "SpatialPolygonsDataFrame")
})

Try the EPP package in your browser

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

EPP documentation built on Jan. 25, 2022, 5:07 p.m.