Skip to content

Commit 7a52ea6

Browse files
committed
refactor: move optional arguments of make functions behind the ellipsis
Insert `...` between the defining arguments and the optional modifiers of 23 functions, following the zoning rules in CONTRIBUTING.md. Legacy positional and abbreviated calls are recovered by the generated ARG_HANDLE blocks (registry: tools/migrations/make.R) and emit a single soft deprecation for igraph 3.0.0. No defaults change and no arguments are renamed. Functions: bipartite_graph, chordal_ring, circulant, empty_graph, full_bipartite_graph, full_citation_graph, full_graph, full_multipartite, make_bipartite_graph, make_chordal_ring, make_circulant, make_empty_graph, make_full_bipartite_graph, make_full_citation_graph, make_full_graph, make_full_multipartite, make_ring, make_star, make_tree, realize_degseq, ring, sample_tree, star Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016M32izVHZPfxAqemAe4BrX
1 parent 0f7d122 commit 7a52ea6

23 files changed

Lines changed: 973 additions & 54 deletions

‎R/cycles.R‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
#' a specific cycle.
3232
#'
3333
#' @param graph The input graph.
34+
#' @inheritParams rlang::args_dots_empty
3435
#' @param mode Character constant specifying how to handle directed graphs.
3536
#' `out` follows edge directions, `in` follows edges in the reverse direction,
3637
#' and `all` ignores edge directions. Ignored in undirected graphs.

0 commit comments

Comments
 (0)