Skip to content

Commit 906ded2

Browse files
committed
Establish compatibility with igraph >= 2.0.0
1 parent 4258fdb commit 906ded2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/random_walk.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ random_walk_rank <- function(n, root = NULL, mode = "out", weights = NULL) {
5050
if (!quo_is_null(weights)) {
5151
cli::cli_warn('{.arg weights} is ignored when doing a random walk on nodes')
5252
}
53-
walk <- as.integer(random_walk(graph, root, n, mode))
53+
walk <- as.integer(random_walk(graph, root, n, mode = mode))
5454
len_out <- gorder(graph)
5555
} else {
5656
weights <- eval_tidy(weights, .E(focused = FALSE)) %||% NA

0 commit comments

Comments
 (0)