tests/testthat/_snaps/fit.md

fit_power_law() errors well

Code
  fit_power_law(1, implementation = "R.mle")
Condition
  Error in `power.law.fit.old()`:
  ! `x` must be a vector of length at least 2, not 1.


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.