Running the chapter 2 code block
g <- graph.formula(1-2, 1-3, 2-3, 2-4, 3-5, 4-5, 4-6, 4-7, 5-6, 6-7)
str(g)
I get the following error
Error in adjacent_vertices(x, i, mode = if (directed) "out" else "all") : At iterators.c:759 : Cannot create iterator, invalid vertex id, Invalid vertex id
Let me know if you need more information, not sure what is standard to submit with an issue.
Thanks!
Running the chapter 2 code block
g <- graph.formula(1-2, 1-3, 2-3, 2-4, 3-5, 4-5, 4-6, 4-7, 5-6, 6-7)str(g)I get the following error
Error in adjacent_vertices(x, i, mode = if (directed) "out" else "all") : At iterators.c:759 : Cannot create iterator, invalid vertex id, Invalid vertex idLet me know if you need more information, not sure what is standard to submit with an issue.
Thanks!