This dataset contains a polygon polygon SpatVector (from terra). It can be used to draw the borders of world countries.
A SpatVector object
OceanMask
for another polygon used to embellish the plots
plot(CountryBorders, border = "red", col = "darkgrey")
## How did we create this file?
## Uncomment the following to create the file as we did
# if (require(rnaturalearth) && require(terra)) {
# CountryBorders <- rnaturalearth::ne_countries(scale = 'medium', returnclass = 'sf')
# CountryBorders <- vect(CountryBorders[, 0])
# #saveRDS(CountryBorders, file = "IsoriX/inst/extdata/CountryBorders.rds", compress = "xz")
# }
Run the code above in your browser using DataLab