diff --git a/R/structural-properties.R b/R/structural-properties.R index 5a15414c336..578eed4bbc3 100644 --- a/R/structural-properties.R +++ b/R/structural-properties.R @@ -1365,7 +1365,14 @@ distances <- function( ..., mode = c("all", "out", "in"), weights = NULL, - algorithm = c( "automatic", "unweighted", "dijkstra", "bellman-ford", "johnson", "floyd-warshall" ) + algorithm = c( + "automatic", + "unweighted", + "dijkstra", + "bellman-ford", + "johnson", + "floyd-warshall" + ) ) { # BEGIN GENERATED ARG_HANDLE: distances, do not edit, see tools/generate-migrations.R if (...length() > 0L) { @@ -2133,7 +2140,18 @@ subgraph.edges <- function(graph, eids, delete.vertices = TRUE) { #' transitivity <- function( graph, - type = c( "undirected", "global", "globalundirected", "localundirected", "local", "average", "localaverage", "localaverageundirected", "barrat", "weighted" ), + type = c( + "undirected", + "global", + "globalundirected", + "localundirected", + "local", + "average", + "localaverage", + "localaverageundirected", + "barrat", + "weighted" + ), ..., vids = NULL, weights = NULL, diff --git a/tools/migrations/structural-properties.R b/tools/migrations/structural-properties.R index 714b84da0c0..66294f77374 100644 --- a/tools/migrations/structural-properties.R +++ b/tools/migrations/structural-properties.R @@ -157,7 +157,14 @@ migrations <- list( ..., mode = c("all", "out", "in"), weights = NULL, - algorithm = c( "automatic", "unweighted", "dijkstra", "bellman-ford", "johnson", "floyd-warshall" ) + algorithm = c( + "automatic", + "unweighted", + "dijkstra", + "bellman-ford", + "johnson", + "floyd-warshall" + ) ) {}, when = "3.0.0" ), @@ -410,7 +417,18 @@ migrations <- list( old = function(graph, type, vids, weights, isolates) {}, new = function( graph, - type = c( "undirected", "global", "globalundirected", "localundirected", "local", "average", "localaverage", "localaverageundirected", "barrat", "weighted" ), + type = c( + "undirected", + "global", + "globalundirected", + "localundirected", + "local", + "average", + "localaverage", + "localaverageundirected", + "barrat", + "weighted" + ), ..., vids = NULL, weights = NULL,