Skip to content

test: Use renamed arguments in ego() and shortest_paths() tests - #3058

Merged
schochastics merged 1 commit into
mainfrom
fix/test-renamed-args
Dec 4, 2026
Merged

schochastics merged 1 commit into
mainfrom
fix/test-renamed-args

Conversation

@schochastics

Copy link
Copy Markdown
Contributor

The rcc: ... with lifecycle errors job fails on main (and on every PR that merges it, e.g. #2745) because two recently added tests still use argument names deprecated by the 3.0.0 renames:

  • test-iterators.R: ego(nodes = 1) → ego(vertices = 1)
  • test-structural-properties.R: shortest_paths(inbound.edges = TRUE) → inbound_edges = TRUE

Checked the full suite with IGRAPH_LIFECYCLE_ERRORS=true: no other failures. The remaining old-name calls are deliberate deprecation tests wrapped in expect_deprecated().

🤖 Generated with Claude Code

Two recently added tests still called `ego(nodes = )` and
`shortest_paths(inbound.edges = )`, which fail the "with lifecycle
errors" check job since the 3.0.0 argument renames.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@schochastics
schochastics enabled auto-merge (squash) December 4, 2026 08:00
auto-merge was automatically disabled December 4, 2026 08:17

Repository rule violations found

@schochastics
schochastics merged commit 70c6830 into main Dec 4, 2026
9 checks passed
@schochastics
schochastics deleted the fix/test-renamed-args branch December 4, 2026 08:26
schochastics added a commit to schochastics/rigraph that referenced this pull request Dec 4, 2026
…graph#3058)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
(cherry picked from commit 70c6830)
schochastics added a commit to schochastics/rigraph that referenced this pull request Dec 4, 2026
…graph#3058)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
(cherry picked from commit 70c6830)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant