HannaMeyer/CAST

Please remove dependencies on **rgdal**, **rgeos**, and/or **maptools**

rsbivand opened this issue · 2 comments

This package depends on (depends, imports or suggests) raster and one or more of the retiring packages rgdal, rgeos or maptools (https://r-spatial.org/r/2022/04/12/evolution.html, https://r-spatial.org/r/2022/12/14/evolution2.html). Since raster 3.6.3, all use of external FOSS library functionality has been transferred to terra, making the retiring packages very likely redundant. It would help greatly if you could remove dependencies on the retiring packages as soon as possible.

Thanks for progress so far; this was run with _SP_EVOLUTION_STATUS_=2 without retiring r-spatial packages (suggested in this package) on the library path:
00check.log. In both failing vignettes, rgeos::gBuffer is used in the local csample function. Either condition those chunks on the retiring packages being available, or replace with sf::st_buffer coercing to and from sf (and conditioning on sf being available.

Thanks!