Skip to content

Commit

Permalink
refactor: explicitly use mode argument in call to igraph::radius()
Browse files Browse the repository at this point in the history
  • Loading branch information
maelle committed Jul 17, 2024
1 parent c67c04e commit 2f39957
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/graph_measures.R
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ graph_girth <- function() {
#' @export
graph_radius <- function(mode = 'out') {
graph <- .G()
radius(graph, mode)
radius(graph, mode = mode)
}
#' @describeIn graph_measures Counts the number of mutually connected nodes. Wraps [igraph::dyad_census()]
#' @importFrom igraph dyad_census
Expand Down

0 comments on commit 2f39957

Please sign in to comment.