cct-datascience / AFS_database_code

Code for app to display standardized fish data in North America
https://viz.datascience.arizona.edu/afs-standard-fish-data/
BSD 2-Clause "Simplified" License
1 stars 3 forks source link

Remove usage of `sp` package #21

Open KristinaRiemer opened 11 months ago

KristinaRiemer commented 11 months ago

Getting this note related to the ongoing deprecation of some spatial R packages:

The legacy packages maptools, rgdal, and rgeos, underpinning the sp package,
which was just loaded, will retire in October 2023.
Please refer to R-spatial evolution reports for details, especially
https://r-spatial.org/r/2023/05/15/evolution4.html.
It may be desirable to make the sf package available;
package maintainers should consider adding sf to Suggests:.
The sp package is now running under evolution status 2
     (status 2 uses the sf package in place of rgdal)
Aariq commented 3 weeks ago

Looks like maybe just leaflet is using sp, but the current version on CRAN no longer depends on it. renv::update("leaflet") might be all that needs to happen (hope for no breaking changes)