Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Time to replace retiring spatial packages #1142

Closed
rsbivand opened this issue Feb 8, 2023 · 3 comments · Fixed by #1165
Closed

Time to replace retiring spatial packages #1142

rsbivand opened this issue Feb 8, 2023 · 3 comments · Fixed by #1165

Comments

@rsbivand
Copy link
Contributor

rsbivand commented Feb 8, 2023

broom suggests maptools, which will be archived in October. This currently harms tipsae, which uses broom::tidy() on an sp object, and reaches

unioned <- maptools::unionSpatialPolygons(cp, attr[, region])
. When maptools is not available, tipsae fails. The function being used is similar to sf::aggregate().

For more general details, see: rgdal, rgeos and maptools will retire during 2023. As is explained in this presentation: https://rsbivand.github.io/csds_jan23/bivand_csds_ssg_230117.pdf, package maintainers should aim to have replaced probably redundant dependencies on these packages by June 2023 (before the northern hemisphere tutorial season), and certainly by October 2023 when the packages will be archived. The presentation was recorded: https://www.youtube.com/watch?v=TlpjIqTPMCA&list=PLzREt6r1NenmWEidssmLm-VO_YmAh4pq9&index=1. Further details in blogs: https://r-spatial.org/r/2022/04/12/evolution.html, https://r-spatial.org/r/2022/12/14/evolution2.html, and in tabulations on https://github.com/r-spatial/evolution.

@simonpcouch
Copy link
Collaborator

Thanks for the thorough description! Will make this happen before the next release.

@simonpcouch
Copy link
Collaborator

The next release will go out with the changes in 0f5cf41.

A few months later, we'll follow up with a hard-deprecation of the region argument to that tidier to remove the dependency on maptools (and rgeos). Depending on how revdeps look, we'll either move forward with the deprecation of sp tidiers then or give those tidiers a few extra months.

@github-actions
Copy link

github-actions bot commented Aug 2, 2023

This issue has been automatically locked. If you believe you have found a related problem, please file a new issue (with a reprex: https://reprex.tidyverse.org) and link to this issue.

@github-actions github-actions bot locked and limited conversation to collaborators Aug 2, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants