Closed loreabad6 closed 3 years ago
I don't think this is a bug. This is just how igraph
chose to handle character encoded weights. I would say we just rely on igraph
for that and not change the behaviour.
The only thing is we need to update the following line in the routing vignette:
Fixed by updating the vignette
Describe the bug When a character column is passed as a
weights
argument inst_network_paths()
, it seems to be internally (byigraph
) converted into a numeric vector, introducing NA values.Reproducible example
Expected behavior Return an error or alternatively an informative warning when this happens.