#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 that GIF is worth a thousand words. Great visual explanation of what the package does and how it works