Nothing
# Test cases for `grid_to_polygon()`
# Mock data
grid <- create_qk_grid(
xmin = -59,
xmax = -57,
ymin = -35,
ymax = -34,
zoom = 11
)
grid_coords <- get_qk_coord(data = grid$data)
grid_coords
polygrid <- grid_to_polygon(grid_coords)
polygrid
# Check that the error is working when the data is not class 'sf'
test_that("Dataset is of class 'sf'", {
expect_silent(polygrid)
expect_error(grid_to_polygon(as.data.frame(grid_coords)))
})
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.