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.
postGIStools imports 'rgdal', 'rgeos' using rgdal::showEPSG rgeos::readWKT rgeos::writeWKT, as found by pkgapi, not in NAMESPACE, in get_postgis_query.R, postgis_insert_update.R and postgis_utils.R. The WKT read function can be replaced by sf::st_as_sfc, terra::vect, write by sf::st_as_text, terra::geom, rgdal::showEPSG by sf::st_crs, and perhaps terra::crs. Please fix best by June, latest October 2023.
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,rgeosandmaptoolswill be retired thisyear, in October 2023.
postGIStools imports 'rgdal', 'rgeos' using
rgdal::showEPSGrgeos::readWKTrgeos::writeWKT, as found bypkgapi, not in NAMESPACE, in get_postgis_query.R, postgis_insert_update.R and postgis_utils.R. The WKT read function can be replaced bysf::st_as_sfc,terra::vect, write bysf::st_as_text,terra::geom,rgdal::showEPSGbysf::st_crs, and perhapsterra::crs. Please fix best by June, latest October 2023.