ropensci / osmdata

R package for downloading OpenStreetMap data
https://docs.ropensci.org/osmdata
316 stars 46 forks source link

[FEATURE] Deprecate osmdata_sp #273

Open mpadge opened 2 years ago

elipousson commented 1 year ago

Were you thinking of using lifecycle for this? Or is that overkill for deprecating a single function?

jmaspons commented 1 year ago

sp is not imported any more. Now is just a suggestion required for osm_elevation and trim_osmdata with sf points. See #302

mpadge commented 1 year ago

@jmaspons This goes one step beyond that, to deprecating and then ultimately removing the osmdata_sp() functions. This is in accordance with our official rOpenSci recommendations (last point in that list), and particulary the GitHub issue referenced there. sp is obsolete and shoulnd't really be supported anymore.

rsbivand commented 1 year ago

In https://github.com/rsbivand/sp/tree/sp161, now seeing in revdeps: 00check.log

mpadge commented 1 year ago

Thanks @rsbivand, above commit bypasses that expectation for the moment until we completely deprecate sp. Should pass your revdep tests from here on regardless.

rsbivand commented 1 year ago

With 0.2.2.002 _SP_EVOLUTIONSTATUS=0 and forthcoming sp 1.6-1 1 NOTE (libs size): 00check.log With _SP_EVOLUTIONSTATUS=2, same NOTE: 00check.log With no retiring packages on library path, _SP_EVOLUTIONSTATUS=2, same NOTE: 00check.log

Looks good! Thanks for your cooperation!

rsbivand commented 1 year ago

CRAN check failures now showing on https://cran.r-project.org/web/checks/check_results_osmdata.html as sp 1.6-1 is on CRAN.

mpadge commented 1 year ago

Thanks @rsbivand, i'm working on the resubmission this very moment :+1:

mpadge commented 1 year ago

@rsbivand New version on CRAN now. Thanks for always paying attention and helping!

rsbivand commented 1 year ago

Looks good! CMD check single NOTE (as before): 00check.log with sp evolution status 2L, and the same but with no retiring packages on the library path, also OK 00check.log So should be OK wrt. the evolution/retirement process.