- using R Under development (unstable) (2023-09-23 r85215)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
Debian clang version 16.0.6 (15)
GNU Fortran (Debian 13.2.0-4) 13.2.0
- running under: Debian GNU/Linux trixie/sid
- using session charset: UTF-8
- checking for file ‘bnclassify/DESCRIPTION’ ... OK
- this is package ‘bnclassify’ version ‘0.4.7’
- checking package namespace information ... OK
- checking package dependencies ... OK
- checking if this is a source package ... OK
- checking if there is a namespace ... OK
- checking for executable files ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking for sufficient/correct file permissions ... OK
- checking serialization versions ... OK
- checking whether package ‘bnclassify’ can be installed ... OK
See the install log for details.
- used C++ compiler: ‘Debian clang version 16.0.6 (15)’
- checking C++ specification ... NOTE
Specified C++11: please drop specification unless essential
- checking package directory ... OK
- checking for future file timestamps ... OK
- checking ‘build’ directory ... OK
- checking DESCRIPTION meta-information ... OK
- checking top-level files ... OK
- checking for left-over files ... OK
- checking index information ... OK
- checking package subdirectories ... OK
- checking R files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- checking whether the package can be loaded ... [1s/1s] OK
- checking whether the package can be loaded with stated dependencies ... [1s/1s] OK
- checking whether the package can be unloaded cleanly ... [1s/1s] OK
- checking whether the namespace can be loaded with stated dependencies ... [1s/1s] OK
- checking whether the namespace can be unloaded cleanly ... [1s/1s] OK
- checking loading without being on the library search path ... [1s/1s] OK
- checking use of S3 registration ... OK
- checking dependencies in R code ... OK
- checking S3 generic/method consistency ... OK
- checking replacement functions ... OK
- checking foreign function calls ... OK
- checking R code for possible problems ... [15s/18s] OK
- checking Rd files ... [1s/1s] OK
- checking Rd metadata ... OK
- checking Rd line widths ... OK
- checking Rd cross-references ... OK
- checking for missing documentation entries ... OK
- checking for code/documentation mismatches ... OK
- checking Rd \usage sections ... NOTE
Documented arguments not in \usage in documentation object 'augment_kdb':
‘...’
Documented arguments not in \usage in documentation object 'graph_connected_components':
‘x’
Documented arguments not in \usage in documentation object 'graph_subgraph':
‘x’
Documented arguments not in \usage in documentation object 'map':
‘x’
Functions with \usage entries need to have the appropriate \alias
entries, and all their arguments documented.
The \usage entries must correspond to syntactically valid R code.
See chapter ‘Writing R documentation files’ in the ‘Writing R
Extensions’ manual.
- checking Rd contents ... OK
- checking for unstated dependencies in examples ... OK
- checking contents of ‘data’ directory ... OK
- checking data for non-ASCII characters ... [0s/0s] OK
- checking data for ASCII and uncompressed saves ... OK
- checking line endings in C/C++/Fortran sources/headers ... OK
- checking line endings in Makefiles ... OK
- checking compilation flags in Makevars ... OK
- checking for GNU extensions in Makefiles ... OK
- checking for portable use of $(BLAS_LIBS) and $(LAPACK_LIBS) ... OK
- checking use of PKG_*FLAGS in Makefiles ... OK
- checking use of SHLIB_OPENMP_*FLAGS in Makefiles ... OK
- checking pragmas in C/C++ headers and code ... OK
- checking compilation flags used ... OK
- checking compiled code ... OK
- checking sizes of PDF files under ‘inst/doc’ ... OK
- checking installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... [2s/3s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [40s/48s] ERROR
Running ‘testthat.R’ [39s/47s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(bnclassify)
>
> test_check("bnclassify")
-1.54485 -1.50696 -1.31785 -1.2128 -1.4612 -1.20742 -1.26966 -1.67055 -0.440312 -1.11241 -4.29046 -4.29046 -0.545227 -0.93827 -4.23411 -4.23411
[ FAIL 2 | WARN 3 | SKIP 39 | PASS 587 ]
══ Skipped tests (39) ══════════════════════════════════════════════════════════
• Local rdata file (1): 'test-infer-anb-cpp.R:48:2'
• On CRAN (17): 'test-cv.R:65:3', 'test-cv.R:75:3', 'test-cv.R:85:3',
'test-cv.R:107:3', 'test-cv.R:117:3', 'test-cv.R:188:3',
'test-learn-params-wanbia.r:20:3', 'test-learn-params-wanbia.r:29:3',
'test-learn-params-wanbia.r:39:3', 'test-learn-struct.R:20:3',
'test-learn-struct.R:32:3', 'test-learn-struct.R:50:3',
'test-learn-struct.R:59:3', 'test-learn-struct.R:70:3',
'test-wrap-mlr.R:4:3', 'test-wrap-mlr.R:19:3', 'test-wrap-mlr.R:41:3'
• empty test (20): 'test-anb-families.R:21:1', 'test-basic-assert.R:3:1',
'test-cpp-table.R:18:1', 'test-cpp-table.R:28:1', 'test-cpp-table.R:39:1',
'test-cpp-table.R:44:1', 'test-cpp-table.R:62:1', 'test-cv.R:148:1',
'test-infer-anb-cpp.R:31:1', 'test-infer-anb.R:37:1', 'test-infer.R:16:1',
'test-infer.R:61:1', 'test-infer.R:105:1', 'test-learn-aode.r:50:1',
'test-learn-aode.r:82:1', 'test-learn-params-wanbia.r:12:1',
'test-predict.R:3:1', 'test-update.R:61:1', 'test-wrap-grain.R:3:1',
'test-wrap-grain.R:14:1'
• gRain has removed the predict function (1): 'test-wrap-grain.R:28:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-anb-dag.R:38:3'): Accessors ────────────────────────────────────
Error in `graphNEL2_graph_internal(dg)`: inherits(x, "graphNEL") is not TRUE
Backtrace:
▆
1. └─bnclassify:::random_aug_nb_dag(...) at test-anb-dag.R:38:2
2. └─bnclassify:::graphNEL2_graph_internal(dg) at tests/testthat/helper-common.R:44:2
3. └─base::stopifnot(inherits(x, "graphNEL"))
── Error ('test-dag.R:8:3'): Condition on ──────────────────────────────────────
Error in `graphNEL2_graph_internal(g)`: inherits(x, "graphNEL") is not TRUE
Backtrace:
▆
1. └─bnclassify:::graphNEL2_graph_internal(g) at test-dag.R:8:2
2. └─base::stopifnot(inherits(x, "graphNEL"))
[ FAIL 2 | WARN 3 | SKIP 39 | PASS 587 ]
Error: Test failures
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes in ‘inst/doc’ ... OK
- checking re-building of vignette outputs ... [34s/47s] OK
- checking PDF version of manual ... [7s/8s] OK
- checking HTML version of manual ... [3s/5s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 1 ERROR, 2 NOTEs