rnaturalearthhires icon indicating copy to clipboard operation
rnaturalearthhires copied to clipboard

Unexpected warning for sp objects

Open olivroy opened this issue 7 months ago • 1 comments

rnaturalearth::ne_states("India")
#> The `returnclass` argument of `ne_download()` sp as of rnaturalearth 1.0.0.
#> ℹ Please use `sf` objects with {rnaturalearth}, support for Spatial objects (sp)
#> will be removed in a future release of the package.

I did not specify returnclass. Need to use returnclass = "sf" to silence the warning.

Should rnaturalearthhires return sf objects by default?

olivroy avatar Nov 13 '23 19:11 olivroy