Network cleaning: to_spatial_contracted returns mapply error #237
Labels
bug 🐛
Something isn't working
to_spatial_contracted
All issues related to function `to_spatial_contracted()`
Hello,
I've followed the steps for network pre-processing and network cleaning from this tutorial https://luukvdmeer.github.io/sfnetworks/articles/sfn02_preprocess_clean.html and everything works fine except the last bit when trying to contract the network, i.e.:
contracted = convert( clustered, to_spatial_contracted, cls, cmp, simplify = TRUE )
Here, I always get the error
I tried it with different input data sets (.shp), including the toy data provided in the tutorial, but the error comes up with all of them.
Here's my
sessionInfo()
in case that's helpful:Any idea why I get this error and how to solve it? Many thanks!
Deborah
The text was updated successfully, but these errors were encountered: