CRAN Package Check Results for Maintainer ‘Alberto Franzin <afranzin at ulb.ac.be>’

Last updated on 2022-12-07 23:55:36 CET.

Package ERROR OK
bnstruct 1 12

Package bnstruct

Current CRAN status: ERROR: 1, OK: 12

Version: 1.0.14
Check: running tests for arch ‘i386’
Result: ERROR
     Running 'testthat.R' [23s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > test_check("bnstruct")
     Loading required package: bnstruct
     Loading required package: bitops
     Loading required package: 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
    
     [ FAIL 1 | WARN 2 | SKIP 1 | PASS 1 ]
    
     == Skipped tests ===============================================================
     * On CRAN (1)
    
     == Failed tests ================================================================
     -- Error ('test_em.R:9'): (code run outside of `test_that()`) ------------------
     Error in `igraph::cliques(ig, min = NULL, max = NULL)`: At core/cliques/cliquer_wrapper.c:143 : max_size must not be smaller than min_size, Invalid value
     Backtrace:
     x
     1. +-bnstruct::em(inf.engine, dataset) at test_em.R:9:0
     2. \-bnstruct::em(inf.engine, dataset)
     3. \-bnstruct::InferenceEngine(bis.net)
     4. +-bnstruct::build.junction.tree(object, dag)
     5. \-bnstruct::build.junction.tree(object, dag)
     6. \-bnstruct:::clique.tree(graph)
     7. \-igraph::cliques(ig, min = NULL, max = NULL)
    
     [ FAIL 1 | WARN 2 | SKIP 1 | PASS 1 ]
     Error: Test failures
     Execution halted
Flavor: r-oldrel-windows-ix86+x86_64