tests/testthat/_snaps/other.md

running_mean works

Code
  running_mean(1:3, 4)
Condition
  Error in `running_mean()`:
  ! Vector too short for this binwidth.

serialization works

Code
  g
Output
  IGRAPH D--- 3 3 -- Ring graph
  + attr: name (g/c), mutual (g/l), circular (g/l)
  + edges:
  [1] 1->2 2->3 3->1
Code
  gs
Output
  IGRAPH D--- 3 3 -- Ring graph
  + attr: name (g/c), mutual (g/l), circular (g/l)
  + edges:
  [1] 1->2 2->3 3->1

VS/ES require explicit conversion

Code
  V(karate)
Condition
  Error in `warn_version()`:
  ! This graph was created by a now unsupported old igraph version.
    Call upgrade_graph() before using igraph functions on that object.


Try the igraph package in your browser

Any scripts or data that you put into this service are public.

igraph documentation built on Feb. 12, 2026, 5:08 p.m.