Running ‘testthat.R’ [107s/53s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(igraph)
  
  Attaching package: 'igraph'
  
  The following object is masked from 'package:testthat':
  
      compare
  
  The following objects are masked from 'package:stats':
  
      decompose, spectrum
  
  The following object is masked from 'package:base':
  
      union
  
  > 
  > test_check("igraph")
  Starting 2 test processes.
  Saving _problems/test-games-398.R
  Saving _problems/test-games-401.R
  Saving _problems/test-games-410.R
  Saving _problems/test-games-439.R
  [ FAIL 4 | WARN 0 | SKIP 119 | PASS 6235 ]
  
  ══ Skipped tests (119) ═════════════════════════════════════════════════════════
  • FIXME: Errors in callback are silently gobbled, check with v1.0 and report
    upstream (1): 'test-topology.R:583:3'
  • On CRAN (114): 'test-aaa-auto.R:2:1', 'test-adjacency.R:610:1',
    'test-adjacency.R:639:1', 'test-adjacency.R:788:1',
    'test-attributes.R:366:1', 'test-attributes.R:390:1',
    'test-attributes.R:447:1', 'test-attributes.R:476:1',
    'test-attributes.R:483:1', 'test-centrality.R:32:1',
    'test-centrality.R:88:1', 'test-centrality.R:145:3',
    'test-centrality.R:835:1', 'test-centrality.R:846:1',
    'test-community.R:379:1', 'test-conversion.R:47:1', 'test-conversion.R:54:1',
    'test-conversion.R:143:1', 'test-conversion.R:198:1',
    'test-conversion.R:564:1', 'test-conversion.R:678:1',
    'test-conversion.R:707:1', 'test-error-formatting.R:1:1', 'test-fit.R:30:1',
    'test-foreign.R:28:1', 'test-foreign.R:37:1', 'test-foreign.R:46:1',
    'test-foreign.R:55:1', 'test-foreign.R:59:1', 'test-foreign.R:68:3',
    'test-flow.R:98:1', 'test-flow.R:141:1', 'test-flow.R:178:1',
    'test-flow.R:191:1', 'test-flow.R:209:1', 'test-flow.R:222:1',
    'test-flow.R:246:1', 'test-flow.R:288:1', 'test-hrg.R:10:1',
    'test-hrg.R:20:1', 'test-hrg.R:27:1', 'test-incidence.R:1:1',
    'test-incidence.R:19:1', 'test-incidence.R:112:1', 'test-incidence.R:130:1',
    'test-incidence.R:214:1', 'test-incidence.R:230:1', 'test-games.R:66:1',
    'test-games.R:86:1', 'test-interface.R:181:1', 'test-interface.R:202:1',
    'test-iterators.R:327:1', 'test-iterators.R:347:1', 'test-iterators.R:368:1',
    'test-iterators.R:444:1', 'test-make.R:43:1', 'test-make.R:68:1',
    'test-make.R:77:1', 'test-make.R:85:1', 'test-make.R:95:1',
    'test-make.R:103:1', 'test-make.R:293:1',
    'test-minimum.spanning.tree.R:35:1', 'test-motifs.R:251:1',
    'test-layout.R:17:1', 'test-layout.R:158:3', 'test-layout.R:213:1',
    'test-layout.R:335:1', 'test-other.R:30:1', 'test-other.R:38:3',
    'test-other.R:51:1', 'test-other.R:160:1', 'test-palette.R:192:1',
    'test-palette.R:225:1', 'test-par.R:1:1', 'test-par.R:11:1',
    'test-paths.R:18:1', 'test-paths.R:42:1', 'test-plot.R:1:1',
    'test-plot.R:26:1', 'test-plot.R:51:1', 'test-plot.R:89:1',
    'test-plot.R:119:1', 'test-plot.R:142:1', 'test-plot.R:150:1',
    'test-plot.R:172:1', 'test-plot.R:189:1', 'test-plot.R:214:1',
    'test-plot.R:237:1', 'test-plot.shapes.R:129:1', 'test-plot.shapes.R:159:1',
    'test-plot.shapes.R:181:1', 'test-plot.shapes.R:229:1', 'test-print.R:74:1',
    'test-print.R:84:1', 'test-print.R:101:1', 'test-print.R:117:1',
    'test-print.R:132:1', 'test-structural-properties.R:20:1',
    'test-structural-properties.R:215:1', 'test-structural-properties.R:235:1',
    'test-structural-properties.R:826:1', 'test-operators.R:216:1',
    'test-operators.R:255:1', 'test-utils-assert-args.R:1:1',
    'test-utils-assert-args.R:9:1', 'test-trees.R:218:1', 'test-versions.R:8:1',
    'test-versions.R:14:1', 'test-versions.R:24:1', 'test-versions.R:39:1',
    'test-versions.R:54:1', 'test-versions.R:69:1', 'test-versions.R:94:1'
  • nested igraph call handling not implemented yet (1):
    'test-structural-properties.R:202:3'
  • {graph} is not installed (2): 'test-conversion.R:525:3',
    'test-conversion.R:553:3'
  • {pcalg} is not installed (1): 'test-adjacency.R:20:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-games.R:398:3'): sample_bipartite works -- directed gnp ──────
  Expected `ecount(graph)` to equal `expected`.
  Differences:
    `actual`: 9.0
  `expected`: 6.0
  
  Backtrace:
      ▆
   1. └─igraph:::expect_ecount(g_rand_bip_dir, 6) at test-games.R:398:3
   2.   └─testthat::expect_equal(...) at ./helper.R:36:3
  ── Failure ('test-games.R:401:3'): sample_bipartite works -- directed gnp ──────
  Expected output from `print_all(g_rand_bip_dir)` to match regexp "5->11".
  Actual output:
  x | IGRAPH 6db650c D--B 15 9 -- Bipartite Gnp random graph
    | + attr: name (g/c), p (g/n), type (v/l)
    | + edges from 6db650c:
    | [1]  3->11  7->11  1->12  4->12  9->13 10->13  1->14  3->15  5->15
  ── Failure ('test-games.R:410:3'): sample_bipartite works -- directed gnp ──────
  Expected output from `print_all(g_rand_bip_in)` to match regexp "11->3".
  Actual output:
  x | IGRAPH 2845cb8 D--B 15 8 -- Bipartite Gnp random graph
    | + attr: name (g/c), p (g/n), type (v/l)
    | + edges from 2845cb8:
    | [1] 12-> 3 12-> 7 12-> 9 13-> 1 14-> 3 14->10 15-> 2 15-> 8
  ── Failure ('test-games.R:439:3'): sample_bipartite works -- directed gnm ──────
  Expected output from `print_all(g_rand_bip_gnm_in)` to match regexp "12->10".
  Actual output:
  x | IGRAPH 1b42754 D--B 15 8 -- Bipartite Gnm random graph
    | + attr: name (g/c), m (g/n), type (v/l)
    | + edges from 1b42754:
    | [1] 11-> 2 12-> 4 12-> 5 13-> 5 14-> 6 14->10 15-> 3 15-> 7
  
  [ FAIL 4 | WARN 0 | SKIP 119 | PASS 6235 ]
  Error:
  ! Test failures.
  Execution halted