Running ‘testthat.R’ [19s/25s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(IMEC)
  > 
  > test_check("IMEC")
  [1] "The used edge weight is 0.333333333333333"
  [1] "The used edge weight is 0.5"
  [1] "The used edge weight is 0.333333333333333"
  [1] "The used edge weight is 0.5"
  [1] "The used edge weight is 0.333333333333333"
  [1] "The used edge weight is 0.5"
  [1] "The used edge weight is 0.5"
  [1] "The used edge weight is 0.333333333333333"
  [1] "The used edge weight is 0.333333333333333"
  [1] "The used edge weight is 0.5"
  [1] "The used edge weight is -4"
  [1] "The used edge weight is -4"
  [1] "The used edge weight is 0.333333333333333"
  [1] "The used edge weight is 0.5"
  [1] "The used edge weight is 0.333333333333333"
  [1] "The used edge weight is 0.5"
  [1] "The used edge weight is 0.333333333333333"
  [1] "The used edge weight is 0.5"
  [1] "The used edge weight is 0.5"
  [1] "The used edge weight is -4"
  [1] "The used edge weight is -4"
  [1] "The used edge weight is 0.333333333333333"
  [1] "The used edge weight is 0.5"
  [1] "The used edge weight is 0.333333333333333"
  [1] "The used edge weight is 0.5"
  [1] "The used edge weight is 0.333333333333333"
  [1] "The used edge weight is 0.5"
  [1] "The used edge weight is 0.5"
  [1] "The used edge weight is 0.333333333333333"
  [1] "The used edge weight is 0.333333333333333"
  [1] "The used edge weight is 0.5"
  [1] "The used edge weight is -4"
  [1] "The used edge weight is -4"
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  ● On CRAN (1)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-0-basictests.R:27:3): analytic way of calculating coherence works ──
  Error: [tcl] invalid command name "font".
  
  Backtrace:
      █
   1. ├─base::plot(IMEC) test-0-basictests.R:27:2
   2. └─IMEC:::plot.IMEC(IMEC)
   3.   └─igraph::tkplot(g, vertex.color = colors, canvas.width = 1000)
   4.     └─igraph:::.tkplot.convert.font(...)
   5.       └─tcltk::tkfont.names()
   6.         └─tcltk::tcl("font", "names", ...)
   7.           └─tcltk::.Tcl.objv(.Tcl.args.objv(...))
   8.             └─base::structure(.External(.C_dotTclObjv, objv), class = "tclObj")
  ── Error (test-0-basictests.R:58:3): analytic way of calculating coherence works for 1 theory ──
  Error: [tcl] invalid command name "font".
  
  Backtrace:
      █
   1. ├─base::plot(IMEC) test-0-basictests.R:58:2
   2. └─IMEC:::plot.IMEC(IMEC)
   3.   └─igraph::tkplot(g, vertex.color = colors, canvas.width = 1000)
   4.     └─igraph:::.tkplot.convert.font(...)
   5.       └─tcltk::tkfont.names()
   6.         └─tcltk::tcl("font", "names", ...)
   7.           └─tcltk::.Tcl.objv(.Tcl.args.objv(...))
   8.             └─base::structure(.External(.C_dotTclObjv, objv), class = "tclObj")
  
  [ FAIL 2 | WARN 1 | SKIP 1 | PASS 2 ]
  Error: Test failures
  Execution halted