Search code examples
rr-sfrgdalterrar-stars

What should I actually be doing in response to this warning? "Please note that rgdal will be retired by the end of 2023"


I keep noticing this message when I load the rgdal package:

"Please note that rgdal will be retired by the end of 2023, plan transition to sf/stars/terra functions using GDAL and PROJ at your earliest convenience."

I don't know what this means. Does this mean that there are some sf/stars/terra functions that use rgdal and others don't? Or does this mean that sf/stars/terra don't use rgdal at all, and that I should use these packages instead of other packages that do rely on rgdal?

What are common packages that do rely on rgdal that will be affected?


Solution

  • As a complement to @Jindra Lacko's answer, I confirm your last hypothesis: sf/stars/terra don't use rgdal at all, and you should use these packages instead of other packages that do rely on rgdal. If you wish, you can find more information through these two links :