CRAN Package Check Results for Package IMEC

Last updated on 2024-11-22 03:52:38 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.2.0 1.78 42.56 44.34 ERROR
r-devel-linux-x86_64-debian-gcc 0.2.0 1.57 36.94 38.51 OK
r-devel-linux-x86_64-fedora-clang 0.2.0 90.86 OK
r-devel-linux-x86_64-fedora-gcc 0.2.0 86.82 OK
r-devel-windows-x86_64 0.2.0 4.00 81.00 85.00 OK
r-patched-linux-x86_64 0.2.0 2.12 48.24 50.36 NOTE
r-release-linux-x86_64 0.2.0 1.86 48.94 50.80 NOTE
r-release-macos-arm64 0.2.0 37.00 NOTE
r-release-macos-x86_64 0.2.0 43.00 NOTE
r-release-windows-x86_64 0.2.0 3.00 70.00 73.00 NOTE
r-oldrel-macos-arm64 0.2.0 38.00 NOTE
r-oldrel-macos-x86_64 0.2.0 64.00 NOTE
r-oldrel-windows-x86_64 0.2.0 4.00 80.00 84.00 NOTE

Check Details

Version: 0.2.0
Check: examples
Result: ERROR Running examples in ‘IMEC-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: computeIMEC > ### Title: Computes the Ising model of explanatory coherence. > ### Aliases: computeIMEC > > ### ** Examples > > # simple example comparing two hypotheses one of them with more explanatory breadth## > T1 <- c("H1", "H2") > Phenomena <- c("E1", "E2") > Thresholds <- c(2,2) > explanations <- initializeNetwork(Phenomena, T1) > explanations <- explain("H1", "E1", explanations) [1] "The used edge weight is 1" > explanations <- explain("H1", "E2", explanations) [1] "The used edge weight is 1" > explanations <- explain("H2", "E2", explanations) [1] "The used edge weight is 1" > explanations <- contradict("H1", "H2", explanations) [1] "The used edge weight is -4" > coherence <- computeIMEC(explanations, Thresholds, Phenomena, T1) > summary(coherence) T1 EC_T1 1 H1 0.8673686 2 H2 0.1347264 > plot(coherence) Authorization required, but no authorization protocol specified Authorization required, but no authorization protocol specified Warning in fun(libname, pkgname) : couldn't connect to display ":132" Error in structure(.External(.C_dotTclObjv, objv), class = "tclObj") : [tcl] invalid command name "font". Calls: plot ... .tkplot.convert.font -> <Anonymous> -> tcl -> .Tcl.objv -> structure Execution halted Flavor: r-devel-linux-x86_64-debian-clang

Version: 0.2.0
Check: tests
Result: ERROR Running ‘testthat.R’ [21s/28s] 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" Authorization required, but no authorization protocol specified Authorization required, but no authorization protocol specified [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" [ FAIL 2 | WARN 1 | SKIP 1 | PASS 2 ] ══ Skipped tests (1) ═══════════════════════════════════════════════════════════ • On CRAN (1): 'test-0-basictests.R:105:1' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-0-basictests.R:27:3'): analytic way of calculating coherence works ── Error in `structure(.External(.C_dotTclObjv, objv), class = "tclObj")`: [tcl] invalid command name "font". Backtrace: ▆ 1. ├─base::plot(IMEC) at test-0-basictests.R:27:3 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 in `structure(.External(.C_dotTclObjv, objv), class = "tclObj")`: [tcl] invalid command name "font". Backtrace: ▆ 1. ├─base::plot(IMEC) at test-0-basictests.R:58:3 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 Flavor: r-devel-linux-x86_64-debian-clang

Version: 0.2.0
Check: LazyData
Result: NOTE 'LazyData' is specified without a 'data' directory Flavors: r-patched-linux-x86_64, r-release-linux-x86_64, r-release-macos-arm64, r-release-macos-x86_64, r-release-windows-x86_64, r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64