salbeke / rKIN

Estimate Niche space using Kernel Density Estimates
4 stars 0 forks source link

dependency on retiring spatial infrastructure packages #14

Closed rsbivand closed 1 year ago

rsbivand commented 1 year ago

You will be aware, for example from: https://r-spatial.org/r/2022/04/12/evolution.html, https://r-spatial.org/r/2022/12/14/evolution2.html, https://r-spatial.org/r/2023/04/10/evolution3.html and https://rsbivand.github.io/csds_jan23/bivand_csds_ssg_230117.pdf and perhaps view https://www.youtube.com/watch?v=TlpjIqTPMCA&list=PLzREt6r1NenmWEidssmLm-VO_YmAh4pq9&index=1 that rgdal, rgeos and maptools will be retired this year, in October 2023.

rKIN depends on 'maptools', 'rgeos' using rgeos::gArea rgeos::gContainsProperly rgeos::gIntersection rgeos::gUnaryUnion as found by pkgapi, bulk imported in NAMESPACE. The use of maptools is almost certainly spurious, and should be sp. Alterantives for rgeos functions can be found in https://github.com/r-spatial/evolution/blob/main/pkgapi_230305_refs.csv. Please fix best by June, latest October 2023.