#rstats #rspatial and other #geospatial folks, I am pleased to announce the {centerline} package! It's a small but powerful tool that can find a centerline of closed polygons.
It has both {terra} and {sf} support and works pretty well, as far as its maintainer (i.e., me) sees. The very first devel version is out, and I'm curious to hear any feedback. Its even doesn't have any logo yet
https://github.com/atsyplenkov/centerline
GitHub - atsyplenkov/centerline: An R package to retrieve the centerline of polygons

An R package to retrieve the centerline of polygons - atsyplenkov/centerline

GitHub
@atsyplenkov wow ! That's exactly what I was looking for. I'll definitely try it and make any useful comment I can.