CRAN Package Check Results for Package bnlearn

Last updated on 2017-07-25 07:46:36.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 4.2 18.19 59.79 77.98 OK
r-devel-linux-x86_64-debian-gcc 4.2 23.02 59.19 82.21 OK
r-devel-linux-x86_64-fedora-clang 4.2 118.33 OK
r-devel-linux-x86_64-fedora-gcc 4.2 111.43 OK
r-devel-windows-ix86+x86_64 4.2 145.00 99.00 244.00 OK
r-patched-linux-x86_64 4.2 18.42 60.70 79.12 OK
r-patched-solaris-x86 4.2 180.30 OK
r-release-linux-x86_64 4.2 17.46 59.77 77.23 OK
r-release-windows-ix86+x86_64 4.2 114.00 127.00 241.00 OK
r-release-osx-x86_64 4.2 ERROR
r-oldrel-windows-ix86+x86_64 4.2 104.00 88.00 192.00 OK
r-oldrel-osx-x86_64 4.2 OK

Additional issues

rchk

Check Details

Version: 4.2
Check: package dependencies
Result: NOTE
    Packages suggested but not available for checking:
     ‘graph’ ‘Rgraphviz’ ‘gRain’
Flavor: r-release-osx-x86_64

Version: 4.2
Check: examples
Result: ERROR
    Running examples in ‘bnlearn-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: compare
    > ### Title: Compare two or more different Bayesian networks
    > ### Aliases: compare all.equal.bn shd hamming graphviz.compare
    > ### Keywords: graphs plots interfaces to other packages
    >
    > ### ** Examples
    >
    > data(learning.test)
    >
    > e1 = model2network("[A][B][C|A:B][D|B][E|C][F|A:E]")
    > e2 = model2network("[A][B][C|A:B][D|B][E|C:F][F|A]")
    > shd(e2, e1, debug = TRUE)
    * arcs between A and F do not match.
     > the learned network contains A - F.
     > the true network contains A -> F.
    * arcs between E and F do not match.
     > the learned network contains F -> E.
     > the true network contains E -> F.
    [1] 2
    > unlist(compare(e1,e2))
    tp fp fn
     5 1 1
    > compare(target = e1, current = e2, arcs = TRUE)
    $tp
     from to
    [1,] "A" "C"
    [2,] "B" "C"
    [3,] "B" "D"
    [4,] "C" "E"
    [5,] "A" "F"
    
    $fp
     from to
    [1,] "F" "E"
    
    $fn
     from to
    [1,] "E" "F"
    
    > graphviz.compare(e1, e2, diff = "none")
    Loading required namespace: Rgraphviz
    Failed with error: ‘there is no package called ‘Rgraphviz’’
    Error in check.Rgraphviz() :
     this function requires the Rgraphviz package.
    Calls: graphviz.compare ... graphviz.compare.backend -> graphviz.backend -> check.Rgraphviz
    Execution halted
Flavor: r-release-osx-x86_64