if (FALSE) {
library(sf)
library(itsdm)
bry <- sf::st_polygon(
list(rbind(c(29.34, -11.72), c(29.34, -0.95),
c(40.31, -0.95), c(40.31, -11.72),
c(29.34, -11.72)))) %>%
st_sfc(crs = 4326)
bios <- worldclim2(var = "tmin", res = 10,
bry = bry, nm_mark = 'exp', path = tempdir())
}
Run the code above in your browser using DataLab