Skip to content

Remove rgeos from the dependency #5242

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

Merged

Conversation

yutannihilation
Copy link
Member

(See #5230 (comment))

rgoes is used nowhere. I couldn't find how it was used. We can find the name "rgoes" only in this NEWS item of ggplot2 v0.9.2. My guess is that SpatialPolygonsDataFrame was living in rgeos at that time (now in sp)?

  • Dependency on gpclib removed, and fortify.SpatialPolygonsDataFrame will
    now use rgeos if available - this is particularly useful if you're not
    able to use the non-free gpclib.

It seems rgeos already became unused in 2015, so anyway I believe it's safe to remove rgoes now.

#1098

@thomasp85
Copy link
Member

This seems timely as rgeos is being retired some time during 2023 according to its DESCRIPTION file

Copy link
Member

@thomasp85 thomasp85 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@yutannihilation
Copy link
Member Author

Ah, thanks, good point. We also need to think about what to do with maptools. I'll file a new issue.

https://r-spatial.org//r/2022/04/12/evolution.html

@yutannihilation yutannihilation merged commit 1d1f795 into tidyverse:main Mar 22, 2023
@yutannihilation yutannihilation deleted the refactor/remove-rgeos branch March 22, 2023 13:38
@olivroy olivroy mentioned this pull request Oct 4, 2023
20 tasks
teunbrand pushed a commit to teunbrand/ggplot2 that referenced this pull request Oct 4, 2023
teunbrand added a commit that referenced this pull request Oct 9, 2023
* Remove rgeos from the dependency (#5242)

---------

Co-authored-by: Hiroaki Yutani <yutani.ini@gmail.com>
teunbrand added a commit that referenced this pull request Oct 13, 2023
* Cherry-pick from #5327

* Add a NEWS item

* Hotfix 3.4.4 (#5449)

* is.atomic() --> is.atomic() || is.null()

* Polish news

* Put is.null() first

* Cherrypick rgeos removal from description (#5453)

* Remove rgeos from the dependency (#5242)

---------

Co-authored-by: Hiroaki Yutani <yutani.ini@gmail.com>

* run revdepcheck

* Update CRAN comments

* Increment version number to 3.4.4

* Fix Version 3.4.4 NEWS Typo (#5479)

Change "the upcoming retirement of rproj, rgeos, and maptools"
to "the upcoming retirement of rgdal, rgeos, and maptools"

* Increment version number to 3.4.4.9000

---------

Co-authored-by: Hiroaki Yutani <yutani.ini@gmail.com>
Co-authored-by: Thomas Lin Pedersen <thomasp85@gmail.com>
Co-authored-by: Matt Nield <64328730+matthewjnield@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants