Running 'testthat.R' [3s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > # This file is part of the standard setup for testthat.
  > # It is recommended that you do not modify it.
  > #
  > # Where should you do additional test configuration?
  > # Learn more about the roles of various files in:
  > # * https://r-pkgs.org/tests.html
  > # * https://testthat.r-lib.org/reference/test_package.html#special-files
  > 
  > library(testthat)
  > library(rSpectral)
  > 
  > test_check("rSpectral")
  Loading required package: BiocGenerics
  
  Attaching package: 'BiocGenerics'
  
  The following objects are masked from 'package:stats':
  
      IQR, mad, sd, var, xtabs
  
  The following objects are masked from 'package:base':
  
      Filter, Find, Map, Position, Reduce, anyDuplicated, aperm, append,
      as.data.frame, basename, cbind, colnames, dirname, do.call,
      duplicated, eval, evalq, get, grep, grepl, intersect, is.unsorted,
      lapply, mapply, match, mget, order, paste, pmax, pmax.int, pmin,
      pmin.int, rank, rbind, rownames, sapply, saveRDS, setdiff, table,
      tapply, union, unique, unsplit, which.max, which.min
  
  This graph was created by an old(er) igraph version.
  i Call `igraph::upgrade_graph()` on it to use with the current igraph version.
  For now we convert it on the fly...
  Saving _problems/test-igraph-19.R
  Saving _problems/test-igraph-26.R
  [ FAIL 2 | WARN 4 | SKIP 0 | PASS 10 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-igraph.R:19:3'): membership fix_neig=0 is correct ────────────
  Expected `c$modularity` to equal `exp_mod10`.
  Differences:
    `actual`: 0.432
  `expected`: 0.408
  
  ── Failure ('test-igraph.R:26:3'): membership fix_neig=1 is correct ────────────
  Expected `c$modularity` to equal `exp_mod11`.
  Differences:
    `actual`: 0.3758
  `expected`: 0.3776
  
  
  [ FAIL 2 | WARN 4 | SKIP 0 | PASS 10 ]
  Error:
  ! Test failures.
  Execution halted