* using log directory 'd:/Rcompile/CRANpkg/local/4.3/abn.Rcheck' * using R version 4.3.3 (2024-02-29 ucrt) * using platform: x86_64-w64-mingw32 (64-bit) * R was compiled by gcc.exe (GCC) 12.3.0 GNU Fortran (GCC) 12.3.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'abn/DESCRIPTION' ... OK * this is package 'abn' version '3.1.1' * package encoding: UTF-8 * checking package namespace information ... OK * checking package dependencies ... NOTE Package suggested but not available for checking: 'INLA' * checking if this is a source package ... OK * checking if there is a namespace ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking whether package 'abn' can be installed ... OK * used C compiler: 'gcc.exe (GCC) 12.3.0' * used C++ compiler: 'g++.exe (GCC) 12.3.0' * checking installed package size ... NOTE installed size is 7.0Mb sub-directories of 1Mb or more: data 1.0Mb extdata 2.9Mb libs 2.0Mb * checking package directory ... 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 ... [4s] OK * checking whether the package can be loaded with stated dependencies ... [5s] OK * checking whether the package can be unloaded cleanly ... [4s] OK * checking whether the namespace can be loaded with stated dependencies ... [4s] OK * checking whether the namespace can be unloaded cleanly ... [4s] OK * checking loading without being on the library search path ... [4s] OK * checking startup messages can be suppressed ... [4s] 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 ... [27s] OK * checking Rd files ... [2s] OK * checking Rd metadata ... OK * checking Rd cross-references ... OK * checking for missing documentation entries ... OK * checking for code/documentation mismatches ... OK * checking Rd \usage sections ... OK * checking Rd contents ... OK * checking for unstated dependencies in examples ... OK * checking contents of 'data' directory ... OK * checking data for non-ASCII characters ... [1s] OK * checking LazyData ... OK * checking data for ASCII and uncompressed saves ... OK * checking line endings in shell scripts ... 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 pragmas in C/C++ headers and code ... OK * checking compiled code ... OK * checking installed files from 'inst/doc' ... OK * checking files in 'vignettes' ... OK * checking examples ... [21s] OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... [130s] ERROR Running 'testthat.R' [130s] Running the tests in 'tests/testthat.R' failed. Complete output: > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # > # Where should you do additional test configuration? > # Learn more about the roles of various files in: > # * https://r-pkgs.org/tests.html > # * https://testthat.r-lib.org/reference/test_package.html#special-files > > library(testthat) > library(abn) abn version 3.1.1 (2024-05-22) is loaded. To cite the package 'abn' in publications call: citation('abn'). Attaching package: 'abn' The following object is masked from 'package:base': factorial > > require(RhpcBLASctl) Loading required package: RhpcBLASctl > omp_set_num_threads(2) > > test_check("abn") Loading required package: Matrix Running in single core mode. 'cluster.type' is ignored. Running in single core mode. 'cluster.type' is ignored. Running in single core mode. 'cluster.type' is ignored. Running in single core mode. 'cluster.type' is ignored. [ FAIL 7 | WARN 0 | SKIP 83 | PASS 251 ] ══ Skipped tests (83) ══════════════════════════════════════════════════════════ • BuildScoreCache(method=mle) crashes with Poisson nodes (1): 'test-fitabn_mle.R:138:3' • INLA is not tested on CRAN (1): 'test-search_hillclimber.R:79:7' • On CRAN (51): 'test-Coutput.R:1:1', 'test-abn-methods.R:29:3', 'test-abn-methods.R:55:3', 'test-abn-methods.R:76:3', 'test-abn-methods.R:102:3', 'test-abn-methods.R:125:3', 'test-abn-methods.R:154:3', 'test-abn-methods.R:177:3', 'test-abn-methods.R:200:3', 'test-abn-methods.R:228:3', 'test-abn-methods.R:253:3', 'test-abn-methods.R:278:3', 'test-abn-methods.R:303:3', 'test-abn-methods.R:328:3', 'test-abn-methods.R:353:3', 'test-abn-methods.R:378:3', 'test-abn-methods.R:403:3', 'test-abn-methods.R:428:3', 'test-build_score_cache.R:122:3', 'test-build_score_cache.R:181:3', 'test-build_score_cache.R:331:3', 'test-build_score_cache.R:386:3', 'test-build_score_cache.R:434:3', 'test-build_score_cache_bayes.R:2:3', 'test-build_score_cache_bayes.R:33:3', 'test-build_score_cache_bayes.R:91:3', 'test-build_score_cache_bayes.R:127:3', 'test-calc_node_inla_glm.R:2:3', 'test-calc_node_inla_glmm.R:2:3', 'test-fitabn.R:26:3', 'test-fitabn.R:56:3', 'test-fitabn.R:75:3', 'test-fitabn.R:94:3', 'test-fitabn.R:136:3', 'test-fitabn.R:190:3', 'test-fitabn.R:379:3', 'test-fitabn_bayes.R:2:3', 'test-mostprobable.R:2:3', 'test-mostprobable.R:12:3', 'test-mostprobable.R:79:3', 'test-mostprobable.R:169:3', 'test-mostprobable.R:211:3', 'test-plot-abn.R:34:3', 'test-plot-abn.R:125:3', 'test-search_heuristic.R:2:3', 'test-search_hillclimber.R:16:3', 'test-search_hillclimber.R:84:3', 'test-simulateabn.R:508:3', 'test-simulateabn.R:810:3', 'test-tographviz.R:27:3', 'test-tographviz.R:171:3' • Plot classic view is deprecated. (1): 'test-plot-abn.R:117:3' • `buildScoreCache.mle()` is tested mainly on Unix-like systems. (6): 'test-build_score_cache_mle.R:32:5', 'test-build_score_cache_mle.R:84:5', 'test-build_score_cache_mle.R:121:5', 'test-build_score_cache_mle.R:159:5', 'test-build_score_cache_mle.R:220:5', 'test-build_score_cache_mle.R:260:5' • empty test (3): 'test-abn-methods.R:7:1', 'test-abn-methods.R:15:1', 'test-build_score_cache_mle.R:264:1' • fitAbn.mle() is tested mainly on Unix-like systems (8): 'test-fitabn_mle.R:32:7', 'test-fitabn_mle.R:83:7', 'test-fitabn_mle.R:132:7', 'test-fitabn_mle.R:286:7', 'test-fitabn_mle.R:384:7', 'test-fitabn_mle.R:482:7', 'test-fitabn_mle.R:592:9', 'test-fitabn_mle.R:704:9' • simulateAbn() is tested mainly on Unix-like systems (12): 'test-simulateabn.R:35:5', 'test-simulateabn.R:90:5', 'test-simulateabn.R:139:5', 'test-simulateabn.R:188:5', 'test-simulateabn.R:236:5', 'test-simulateabn.R:304:5', 'test-simulateabn.R:373:5', 'test-simulateabn.R:422:5', 'test-simulateabn.R:471:5', 'test-simulateabn.R:704:5', 'test-simulateabn.R:805:5', 'test-simulateabn.R:994:9' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-build_score_cache.R:41:7'): buildScoreCache() checks work fine ── Expected `buildScoreCache(data.df = df, data.dists = dists)` to run without any errors. i Actually got a with text: there is no package called 'INLA' Backtrace: ▆ 1. ├─base::suppressWarnings(...) at test-build_score_cache.R:33:3 2. │ └─base::withCallingHandlers(...) 3. ├─base::suppressMessages(...) at test-build_score_cache.R:34:5 4. │ └─base::withCallingHandlers(...) 5. └─testthat::expect_no_error(buildScoreCache(data.df = df, data.dists = dists)) at test-build_score_cache.R:41:7 ── Failure ('test-build_score_cache.R:42:7'): buildScoreCache() checks work fine ── Expected `buildScoreCache(data.df = df, data.dists = dists, method = "Bayes")` to run without any errors. i Actually got a with text: there is no package called 'INLA' Backtrace: ▆ 1. ├─base::suppressWarnings(...) at test-build_score_cache.R:33:3 2. │ └─base::withCallingHandlers(...) 3. ├─base::suppressMessages(...) at test-build_score_cache.R:34:5 4. │ └─base::withCallingHandlers(...) 5. └─testthat::expect_no_error(...) at test-build_score_cache.R:42:7 ── Failure ('test-build_score_cache.R:43:7'): buildScoreCache() checks work fine ── Expected `buildScoreCache(data.df = df, data.dists = dists, method = "bayes")` to run without any errors. i Actually got a with text: there is no package called 'INLA' Backtrace: ▆ 1. ├─base::suppressWarnings(...) at test-build_score_cache.R:33:3 2. │ └─base::withCallingHandlers(...) 3. ├─base::suppressMessages(...) at test-build_score_cache.R:34:5 4. │ └─base::withCallingHandlers(...) 5. └─testthat::expect_no_error(...) at test-build_score_cache.R:43:7 ── Failure ('test-build_score_cache.R:49:7'): buildScoreCache() checks work fine ── Expected `buildScoreCache(...)` to run without any errors. i Actually got a with text: there is no package called 'INLA' Backtrace: ▆ 1. ├─base::suppressWarnings(...) at test-build_score_cache.R:33:3 2. │ └─base::withCallingHandlers(...) 3. ├─base::suppressMessages(...) at test-build_score_cache.R:34:5 4. │ └─base::withCallingHandlers(...) 5. └─testthat::expect_no_error(...) at test-build_score_cache.R:49:7 ── Failure ('test-build_score_cache.R:53:7'): buildScoreCache() checks work fine ── Expected `buildScoreCache(...)` to run without any errors. i Actually got a with text: there is no package called 'INLA' Backtrace: ▆ 1. ├─base::suppressWarnings(...) at test-build_score_cache.R:33:3 2. │ └─base::withCallingHandlers(...) 3. ├─base::suppressMessages(...) at test-build_score_cache.R:34:5 4. │ └─base::withCallingHandlers(...) 5. └─testthat::expect_no_error(...) at test-build_score_cache.R:53:7 ── Failure ('test-build_score_cache.R:62:7'): buildScoreCache() checks work fine ── Expected `buildScoreCache(...)` to run without any errors. i Actually got a with text: there is no package called 'INLA' Backtrace: ▆ 1. ├─base::suppressWarnings(...) at test-build_score_cache.R:33:3 2. │ └─base::withCallingHandlers(...) 3. ├─base::suppressMessages(...) at test-build_score_cache.R:34:5 4. │ └─base::withCallingHandlers(...) 5. └─testthat::expect_no_error(...) at test-build_score_cache.R:62:7 ── Error ('test-build_score_cache.R:66:7'): buildScoreCache() checks work fine ── Error in `library(p, character.only = TRUE)`: there is no package called 'INLA' Backtrace: ▆ 1. ├─base::suppressWarnings(...) at test-build_score_cache.R:33:3 2. │ └─base::withCallingHandlers(...) 3. ├─base::suppressMessages(...) at test-build_score_cache.R:34:5 4. │ └─base::withCallingHandlers(...) 5. ├─testthat::expect_warning(...) at test-build_score_cache.R:66:7 6. │ └─testthat:::expect_condition_matching(...) 7. │ └─testthat:::quasi_capture(...) 8. │ ├─testthat (local) .capture(...) 9. │ │ └─base::withCallingHandlers(...) 10. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 11. └─abn::buildScoreCache(...) 12. └─abn::buildScoreCache.bayes(...) 13. └─... %do% ... 14. └─e$fun(obj, substitute(ex), parent.frame(), e$data) 15. └─base::library(p, character.only = TRUE) [ FAIL 7 | WARN 0 | SKIP 83 | PASS 251 ] Deleting unused snapshots: • tographviz/graph.dot • tographviz/graph1.dot • tographviz/graph_group.dot 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 ... [46s] OK * checking PDF version of manual ... [23s] OK * checking HTML version of manual ... [20s] OK * DONE Status: 1 ERROR, 2 NOTEs