@@ -229,7 +229,7 @@ get.adjacency.dense <- function(
229229) {
230230 ensure_igraph(graph )
231231
232- type <- igraph.match.arg (type )
232+ type <- igraph_match_arg (type )
233233
234234 if (is.logical(loops )) {
235235 loops <- ifelse(loops , " once" , " ignore" )
@@ -242,7 +242,7 @@ get.adjacency.dense <- function(
242242 )
243243 )
244244 }
245- loops <- igraph.match.arg (loops )
245+ loops <- igraph_match_arg (loops )
246246 loops <- switch (loops , " ignore" = 0L , " twice" = 1L , " once" = 2L )
247247
248248 if (! is.null(weights )) {
@@ -285,7 +285,7 @@ get.adjacency.sparse <- function(
285285) {
286286 ensure_igraph(graph )
287287
288- type <- igraph.match.arg (type )
288+ type <- igraph_match_arg (type )
289289
290290 vc <- vcount(graph )
291291
@@ -624,7 +624,7 @@ as_undirected <- function(
624624) {
625625 # Argument checks
626626 ensure_igraph(graph )
627- mode <- igraph.match.arg (mode )
627+ mode <- igraph_match_arg (mode )
628628
629629 # Function call
630630 res <- to_undirected_impl(
@@ -685,9 +685,9 @@ as_adj_list <- function(
685685) {
686686 ensure_igraph(graph )
687687
688- mode <- igraph.match.arg (mode )
688+ mode <- igraph_match_arg (mode )
689689 mode <- as.numeric(switch (mode , " out" = 1 , " in" = 2 , " all" = 3 , " total" = 3 ))
690- loops <- igraph.match.arg (loops )
690+ loops <- igraph_match_arg (loops )
691691 loops <- as.numeric(switch (loops , " ignore" = 0 , " twice" = 1 , " once" = 2 ))
692692
693693 if (is_directed(graph ) && loops == 1 ) {
@@ -716,9 +716,9 @@ as_adj_edge_list <- function(
716716) {
717717 ensure_igraph(graph )
718718
719- mode <- igraph.match.arg (mode )
719+ mode <- igraph_match_arg (mode )
720720 mode <- as.numeric(switch (mode , " out" = 1 , " in" = 2 , " all" = 3 , " total" = 3 ))
721- loops <- igraph.match.arg (loops )
721+ loops <- igraph_match_arg (loops )
722722 loops <- as.numeric(switch (loops , " ignore" = 0 , " twice" = 1 , " once" = 2 ))
723723
724724 if (is_directed(graph ) && loops == 1 ) {
@@ -1186,7 +1186,7 @@ as_incidence_matrix <- function(...) {
11861186# ' @export
11871187as_data_frame <- function (x , what = c(" edges" , " vertices" , " both" )) {
11881188 ensure_igraph(x )
1189- what <- igraph.match.arg (what )
1189+ what <- igraph_match_arg (what )
11901190
11911191 if (what %in% c(" vertices" , " both" )) {
11921192 ver <- .Call(
0 commit comments