CRAN Package Check Results for Package IMEC

Last updated on 2020-12-04 00:48:24 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.2.0 3.53 64.12 67.65 OK
r-devel-linux-x86_64-debian-gcc 0.2.0 3.14 46.07 49.21 OK
r-devel-linux-x86_64-fedora-clang 0.2.0 98.28 OK
r-devel-linux-x86_64-fedora-gcc 0.2.0 75.93 OK
r-devel-windows-ix86+x86_64 0.2.0 8.00 87.00 95.00 OK
r-patched-linux-x86_64 0.2.0 2.35 62.12 64.47 OK
r-patched-solaris-x86 0.2.0 126.90 OK
r-release-linux-x86_64 0.2.0 2.58 61.90 64.48 OK
r-release-macos-x86_64 0.2.0 OK
r-release-windows-ix86+x86_64 0.2.0 7.00 68.00 75.00 OK
r-oldrel-macos-x86_64 0.2.0 ERROR
r-oldrel-windows-ix86+x86_64 0.2.0 5.00 70.00 75.00 OK

Check Details

Version: 0.2.0
Check: examples
Result: ERROR
    Running examples in ‘IMEC-Ex.R’ failed
    The error most likely occurred in:
    
    > ### 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)
    No protocol specified
    No protocol specified
    Warning in fun(libname, pkgname) : couldn't connect to display ":0"
    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-oldrel-macos-x86_64

Version: 0.2.0
Check: tests
Result: ERROR
     Running ‘testthat.R’ [28s/28s]
    Running the tests in ‘tests/testthat.R’ failed.
    Last 13 lines of output:
     [1] "The used edge weight is -4"
     ── Skip (test-0-basictests.R:105:1): (code run outside of `test_that()`) ───────
     Reason: On CRAN
    
     ── Skipped tests ──────────────────────────────────────────────────────────────
     ● On CRAN (1)
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     Warning (test-0-basictests.R:27:3): analytic way of calculating coherence works
     ERROR (test-0-basictests.R:27:3): analytic way of calculating coherence works
     ERROR (test-0-basictests.R:58:3): analytic way of calculating coherence works for 1 theory
    
     [ FAIL 2 | WARN 1 | SKIP 1 | PASS 2 ]
     Error: Test failures
     Execution halted
Flavor: r-oldrel-macos-x86_64