igraph 1.0 leads to "error in x$dist operator is invalid for atomic vectors" for cnapath
Issue #252
resolved
Hi, I upgraded my igraph package from 0.7 to igraph_1.0 and then found it gave error in the title when I used cnapath:
path <- cnapath(nets[[10]], from=61, to=200,k=50)
I'm guessing this is something to do with the output the new version of igraph returns to cnapath from the shortest.path function? I downgraded to 0.7 and it all works fine again.
Cheers,
Alistair
Comments (6)
-
-
- changed component to ToDo
-
assigned issue to
Update dependency list to new igraph version once this version clears CRAN.
-
Thanks. I will do that after igraph 1.0 becomes stable.
-
-
- changed status to resolved
Fixed by recent update
-
- changed version to v2.2
- Log in to comment
Thanks Alistair, thats very helpful!
We will fix this now and also likely need to make some additional checks and changes (once the new igraph version clears some of the Errors and Warnings on CRAN: http://cran.r-project.org/web/checks/check_results_igraph.html )
All best, Barry