PaulRegular / SimSurvey

A tool for comparing the design and analysis of surveys by simulating spatially-correlated populations
https://paulregular.github.io/SimSurvey/
10 stars 3 forks source link

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

Closed rsbivand closed 1 year ago

rsbivand commented 1 year ago

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.

PaulRegular commented 1 year ago

Thanks for flagging this as I missed the news that the raster package is being retired. SimSurvey now uses the sf/stars packages in lieu of the sp/raster packages. For now, I have retained rgdal as an Import as it is required for the INLA package.

rsbivand commented 1 year ago

The raster package is not being retired, and now uses terra for everything raster previously used rgdal and rgeos for. INLA only suggests rgdal and rgeos, which means that it promises to run when they are absent. You should remove rgdal from Suggests: by say June 2023` and check that is is available before any use. Best to remove it completely.

PaulRegular commented 1 year ago

Ok, thanks for clarifying! I have now removed rgdal from Suggests: