# \donttest{
tf <- tempfile(fileext = ".gpkg")
r <- terra::rast(system.file("extdata", "dem.tif", package = "gpkg"))
v <- terra::as.polygons(r, ext = TRUE)
g <- geopackage(list(bbox = v))
gpkg_bbox(g, 'bbox')
# }
Run the code above in your browser using DataLab