cardosopmb / red

red r package for Red List Assessments according to the IUCN criteria
8 stars 0 forks source link

dependency on retiring spatial infrastructure packages #8

Open rsbivand opened 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.

red imports 'maptools', 'rgdal', 'rgeos' , using maptools::kmlPolygon maptools::kmlPolygons rgdal::project rgeos::gIntersection rgeos::gSimplify, bulk imported in NAMESPACE. raster now imports terra, so terra::project might replace rgdal::project, terra::crop rgeos::gIntersection, sf::st_simplify rgeos::gSimplify. maptools::kmlPolygon, maptools::kmlPolygons are harder, please contribute to https://github.com/r-spatial/evolution/issues/6 if these functions cannot be avoided. Please fix best by June, latest by October 2023.

rsbivand commented 1 year ago

@cardosopmb See also https://r-spatial.org/r/2023/05/15/evolution4.html. Please take urgent steps to resolve this issue. No positive changes appear in the repository. Less than three months remain to retain this package on CRAN. See also https://github.com/rsbivand/spkml, which you may wish to adopt, or fold into your package.

rsbivand commented 1 year ago

@cardosopmb @VascoBranco Please do remove all use of rgeos as soon as possible as previously requested, as rgeod will be retored in earlt October. If you thought you had removed rgeos, you need to edit DESCRIPTION as well.