Code updated to use spatial geometry functions from the sf package to replace imports from the retired rgdal and rgeos packages.
The package now internally uses sf objects instead of the sp (SpatialPoints/Lines/Polygons) object format, but sp objects are still accepted as inputs for backwards compatibility.
fetch_len_multi