plot(OceanMask, col = "blue")
## How did we create this file?
## Uncomment the following to create the file as we did
# if (require(terra)) {
# worldlimit <- vect(ext(CountryBorders))
# crs(worldlimit) <- crs(CountryBorders)
# OceanMask <- worldlimit - CountryBorders
# #saveRDS(OceanMask, file = "IsoriX/inst/extdata/OceanMask.rds", compress = "xz")
# }
Run the code above in your browser using DataLab