st_coordinates()
sf
inla()
library(geodata) d <- worldclim_country(country = "Jamaica", var = "tmin", path = tempdir()) terra::plot(mean(d), plg = list(title = "Min. temperature (C)"))