{"action":"closed","issue":{"url":"https://api.github.com/repos/igraph/rigraph/issues/124","labels_url":"https://api.github.com/repos/igraph/rigraph/issues/124/labels{/name}","comments_url":"https://api.github.com/repos/igraph/rigraph/issues/124/comments","events_url":"https://api.github.com/repos/igraph/rigraph/issues/124/events","html_url":"https://github.com/igraph/rigraph/issues/124","id":112457245,"number":124,"title":"edge.attributes: `object 'value' not found` with some reasonable index parameter values","user":{"login":"sanmai-NL","id":3374183,"avatar_url":"https://avatars.githubusercontent.com/u/3374183?v=3","gravatar_id":"","url":"https://api.github.com/users/sanmai-NL","html_url":"https://github.com/sanmai-NL","followers_url":"https://api.github.com/users/sanmai-NL/followers","following_url":"https://api.github.com/users/sanmai-NL/following{/other_user}","gists_url":"https://api.github.com/users/sanmai-NL/gists{/gist_id}","starred_url":"https://api.github.com/users/sanmai-NL/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sanmai-NL/subscriptions","organizations_url":"https://api.github.com/users/sanmai-NL/orgs","repos_url":"https://api.github.com/users/sanmai-NL/repos","events_url":"https://api.github.com/users/sanmai-NL/events{/privacy}","received_events_url":"https://api.github.com/users/sanmai-NL/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-20T20:49:08Z","updated_at":"2015-12-29T09:58:59Z","closed_at":"2015-12-29T09:58:59Z","body":"Some edge sequences in the graph cannot be used to index in the edge attributes using the `index` parameter to edge.attributes.\r\n```r\r\ng <- igraph::graph_from_data_frame(data.frame(c(0L,0L,1L,2L), c(1L,1L,2L,3L), cat=c(1L,2L,1L,2L), rel=c(0L,1L,0L,3L), pos=c(0L,0L,6L,1L)))\r\ng2 <- igraph::simplify(g, edge.attr.comb=list(\"sum\"))\r\np <- igraph::all_simple_paths(g2, from='0')\r\npath1 <- p[[2L]]\r\npath2 <- p[[3L]]\r\nstopifnot(!identical(path1, path2))\r\nprint(path1)\r\nprint(path2)\r\nes1 <- igraph::E(g2, path=path1)\r\nes2 <- igraph::E(g2, path=path2)\r\nea1 <- igraph::edge.attributes(g2, index=es2)\r\n# Error in igraph::edge.attributes(g2, index = es1) :\r\n#  object 'value' not found\r\nea2 <- igraph::edge.attributes(g2, index=es1)\r\n```"}}