luukvdmeer / sfnetworks

Tidy Geospatial Networks in R
https://luukvdmeer.github.io/sfnetworks/
Other
347 stars 20 forks source link

Convert st_* functions into generics #80

Closed luukvdmeer closed 3 years ago

luukvdmeer commented 3 years ago

Is your improvement request related to a problem? Please describe. The st_* extensions that are now implemented in sfnetworks all expect an sfnetwork object as input. If there ever comes a time people want to extend the sfnetwork class, it would be nice if those functions are generics for which additional methods can be written.

Describe the solution you'd like Convert the st_* functions (or at least those for which it makes sense) into generics, with the sfnetwork implementation as a method.

luukvdmeer commented 3 years ago

This is now part of the new version for all st_network_* functions.