You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error in (function (edges, n = max(edges), directed = TRUE) :
At core/constructors/basic_constructors.c:72 : Invalid (non-finite or NaN) vertex index when creating graph. Invalid value
If using head() results in an incomplete network, and that is the issue, then a better error message pointing to the problem would be very helpful.
I know this is late I'm coming to this issue. The link above no longer works. If you are interested can you reproduce the issue with available data?
I'm quite sure the issue is that you are creating an invalid graph representation by just taking the top rows of the two tables but I agree a better error would be beneficial
Reprex of error:
Use the
email_nodes.csv
andemail_edges.csv
tables from https://michaelgastner.com/DAVisR2021/chap-tidygraph.html.If running the code shown in the ebook:
...then the command run successfully.
However, if one uses:
...then the error is:
If using
head()
results in an incomplete network, and that is the issue, then a better error message pointing to the problem would be very helpful.sessionInfo
The text was updated successfully, but these errors were encountered: