Skip to content

Commit

Permalink
don't change deprecated functions
Browse files Browse the repository at this point in the history
  • Loading branch information
maelle committed Mar 6, 2025
1 parent db23e4a commit a09f8c2
Show file tree
Hide file tree
Showing 12 changed files with 64 additions and 61 deletions.
3 changes: 2 additions & 1 deletion R/motifs.R
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ triad.census <- function(graph) { # nocov start
#' @inheritParams count_motifs
#' @keywords internal
#' @export
graph.motifs.no <- function(graph, size = 3, cut.prob = NULL) { # nocov start
graph.motifs.no <- function(graph, size = 3, cut.prob = rep(0, size)) {
# nocov start
lifecycle::deprecate_soft("2.0.0", "graph.motifs.no()", "count_motifs()")
count_motifs(graph = graph, size = size, cut.prob = cut.prob)
} # nocov end
Expand Down
6 changes: 3 additions & 3 deletions man/dominator_tree.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/graph.motifs.no.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions man/igraph-vs-indexing.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/layout.drl.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/layout_with_dh.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/layout_with_drl.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

82 changes: 41 additions & 41 deletions man/layout_with_sugiyama.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/reverse_edges.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions man/st_cuts.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions man/st_min_cuts.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 6 additions & 4 deletions man/vertex.shape.pie.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit a09f8c2

Please sign in to comment.