Hi all,
Got a bug with centrality_betweenness with this piece of code
graph <-
graph %>%
# calling the nodes
activate(
nodes
) %>%
mutate(
# calculating the centrality of degree
degree =
centrality_degree()
) %>%
mutate(
# calculating centrality of betweeness for nodes
betweenness =
centrality_betweenness(
weights = length)
) %>%
# calling the edges
activate(
edges
) %>%
mutate(
# calculating the betweeness for edges
betweenness =
centrality_edge_betweenness(
weights = length)
)
got the message:
> Error in `mutate()`:
> ! Problem while computing `betweenness = centrality_betweenness(weights
> = length)`.
> Caused by error in `betweenness()`:
> ! At core/core/vector.pmt:483 : Assertion failed: v->stor_begin != NULL. This is an unexpected igraph error; please report this as a bug, along with the steps to reproduce it.
> Run `rlang::last_error()` to see where the error occurred.
> Warning message:
> Problem while computing `betweenness = centrality_betweenness(weights =
> length)`.
> i 'nobigint' is deprecated since igraph 1.3 and will be removed in igraph 1.4