context("bboxSpatialPolygon")
test_that("Test bboxSpatialPolygon function", {
boundingbox <- terra::ext(c(-180, +180, -50, +50))
bbSP <- bboxSpatialPolygon(boundingbox = boundingbox)
expect_that("SpatVector" %in% class(bbSP), equals(TRUE))
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.