Running ‘testthat.R’ [11s/18s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(tidygraph)
  
  Attaching package: 'tidygraph'
  
  The following object is masked from 'package:testthat':
  
      matches
  
  The following object is masked from 'package:stats':
  
      filter
  
  > 
  > test_check("tidygraph")
  [ FAIL 4 | WARN 2 | SKIP 0 | PASS 276 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-group.R:68'): grouping with fixed number of groups ───────────
  get_number_of_groups(gr, group_edge_betweenness(n_groups = 4)) not equal to 4.
  Modes: list, numeric
  names for target but not for current
  Attributes: < Modes: list, NULL >
  Attributes: < Lengths: 2, 0 >
  Attributes: < names for target but not for current >
  Attributes: < current is not list-like >
  ── Failure ('test-group.R:71'): grouping with fixed number of groups ───────────
  get_number_of_groups(gr, group_fast_greedy(n_groups = 4)) not equal to 4.
  Modes: list, numeric
  names for target but not for current
  Attributes: < Modes: list, NULL >
  Attributes: < Lengths: 2, 0 >
  Attributes: < names for target but not for current >
  Attributes: < current is not list-like >
  ── Failure ('test-group.R:74'): grouping with fixed number of groups ───────────
  get_number_of_groups(gr, group_leading_eigen(n_groups = 32)) not equal to 32.
  Modes: list, numeric
  names for target but not for current
  Attributes: < Modes: list, NULL >
  Attributes: < Lengths: 2, 0 >
  Attributes: < names for target but not for current >
  Attributes: < current is not list-like >
  ── Failure ('test-group.R:77'): grouping with fixed number of groups ───────────
  get_number_of_groups(gr, group_walktrap(n_groups = 7)) not equal to 7.
  Modes: list, numeric
  names for target but not for current
  Attributes: < Modes: list, NULL >
  Attributes: < Lengths: 2, 0 >
  Attributes: < names for target but not for current >
  Attributes: < current is not list-like >
  
  [ FAIL 4 | WARN 2 | SKIP 0 | PASS 276 ]
  Error: Test failures
  Execution halted