In my rev-dep checks, nb_union failed on print because the neighbour indices were not sorted in ascending order. In print.nb, n.comp.nb was run, and chose the igraph path, so needing coercion to a sparse matrix then a graph - coercion to a sparse matrix requires indices to be given in ascending order.
In my rev-dep checks,
nb_union
failed onprint
because the neighbour indices were not sorted in ascending order. Inprint.nb
,n.comp.nb
was run, and chose theigraph
path, so needing coercion to a sparse matrix then a graph - coercion to a sparse matrix requires indices to be given in ascending order.