我实际上应该做什么来回应这个警告? "Please note that rgdal will be retired by the end of 2023"

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

我在加载 rgdal 包时一直注意到这条消息:

"请注意,rgdal 将于 2023 年底退役, 计划使用 GDAL 和 PROJ 过渡到 sf/stars/terra 函数 在您方便的时候尽早。"

我不知道这是什么意思。这是否意味着某些 sf/stars/terra 函数使用 rgdal 而其他函数不使用?或者这是否意味着 sf/stars/terra 根本不使用 rgdal,我应该使用这些包而不是其他依赖 rgdal 的包?

哪些依赖 rgdal 的常见软件包会受到影响?

此消息表示包的维护者即将退休。他将不再能够为 rgdal 包裹提供 CRAN 上市所需的温柔呵护。因此,他建议您有序地将工作流程迁移到其他工具。

作为对@Jindra Lacko 回答的补充,我确认你最后的假设:sf/stars/terra 根本不要使用 rgdal,你应该使用这些包而不是其他依赖 rgdal 的包。如果您愿意,可以通过以下两个链接找到更多信息: