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

switch to sf instead of sp? #14

Open
morrowcj opened this issue Nov 9, 2023 · 2 comments
Open

switch to sf instead of sp? #14

morrowcj opened this issue Nov 9, 2023 · 2 comments

Comments

@morrowcj
Copy link

morrowcj commented Nov 9, 2023

Our package depends upon geosphere and we've been getting the following warning:

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)

Will geosphere update its use of sp to sf?

@PietrH
Copy link

PietrH commented Jun 6, 2024

I support the decision to switch to sf, this is also a recommendation in the rOpenSci dev guide.

@olivroy
Copy link

olivroy commented Oct 16, 2024

+1 too! sp imports sf anyway.

This would require one less step.

Currently, we have to call sf::as_Spatial() on our object to be able to use the functions.

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

No branches or pull requests

3 participants