CRAN Package Check Results for Package abn

Last updated on 2026-07-09 14:00:35 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 3.1.13 115.01 188.38 303.39 ERROR --no-tests
r-devel-linux-x86_64-debian-gcc 3.1.13 75.11 131.23 206.34 ERROR --no-tests
r-devel-linux-x86_64-fedora-clang 3.1.13 154.00 1131.30 1285.30 ERROR
r-devel-linux-x86_64-fedora-gcc 3.1.13 196.00 1448.50 1644.50 ERROR
r-devel-windows-x86_64 3.1.13 138.00 369.00 507.00 ERROR
r-patched-linux-x86_64 3.1.13 106.88 174.37 281.25 OK --no-tests
r-release-linux-x86_64 3.1.13 104.50 176.49 280.99 OK --no-tests
r-release-macos-arm64 3.1.13 23.00 306.00 329.00 OK
r-release-macos-x86_64 3.1.13 66.00 1655.00 1721.00 OK
r-release-windows-x86_64 3.1.13 139.00 364.00 503.00 ERROR
r-oldrel-macos-arm64 3.1.13 19.00 285.00 304.00 OK
r-oldrel-macos-x86_64 3.1.13 64.00 795.00 859.00 OK
r-oldrel-windows-x86_64 3.1.13 153.00 566.00 719.00 ERROR

Check Details

Version: 3.1.13
Flags: --no-tests
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: ... --- re-building ‘data_simulation.Rmd’ using rmarkdown --- finished re-building ‘data_simulation.Rmd’ --- re-building ‘mixed_effect_BN_model.Rmd’ using rmarkdown Quitting from mixed_effect_BN_model.Rmd:130-146 [unnamed-chunk-4] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <error/rlang_error> Error in `{ forLoopContent(row.num = row.num, mycache = mycache, data.dists = data.dists, data.df.multi = data.df.multi, adj.vars = adj.vars, data.df = data.df, data.df.lvl = data.df.lvl, group.var = group.var, group.ids = group.ids, control = control, n = nvars, verbose = verbose) }`: ! task 25 failed - "no applicable method for 'logLik' applied to an object of class "function"" --- Backtrace: ▆ 1. └─abn::buildScoreCache(...) 2. └─abn::buildScoreCache.mle(...) 3. └─... %do% ... 4. └─e$fun(obj, substitute(ex), parent.frame(), e$data) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'mixed_effect_BN_model.Rmd' failed with diagnostics: task 25 failed - "no applicable method for 'logLik' applied to an object of class "function"" --- failed re-building ‘mixed_effect_BN_model.Rmd’ --- re-building ‘model_specification.Rmd’ using rmarkdown --- finished re-building ‘model_specification.Rmd’ --- re-building ‘multiprocessing.Rmd’ using rmarkdown --- finished re-building ‘multiprocessing.Rmd’ --- re-building ‘parameter_learning.Rmd’ using rmarkdown --- finished re-building ‘parameter_learning.Rmd’ --- re-building ‘quick_start_example.Rmd’ using rmarkdown --- finished re-building ‘quick_start_example.Rmd’ --- re-building ‘structure_learning.Rmd’ using rmarkdown --- finished re-building ‘structure_learning.Rmd’ SUMMARY: processing the following file failed: ‘mixed_effect_BN_model.Rmd’ Error: Vignette re-building failed. Execution halted Flavor: r-devel-linux-x86_64-debian-clang

Version: 3.1.13
Flags: --no-tests
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: ... --- re-building ‘data_simulation.Rmd’ using rmarkdown --- finished re-building ‘data_simulation.Rmd’ --- re-building ‘mixed_effect_BN_model.Rmd’ using rmarkdown Quitting from mixed_effect_BN_model.Rmd:130-146 [unnamed-chunk-4] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <error/rlang_error> Error in `{ forLoopContent(row.num = row.num, mycache = mycache, data.dists = data.dists, data.df.multi = data.df.multi, adj.vars = adj.vars, data.df = data.df, data.df.lvl = data.df.lvl, group.var = group.var, group.ids = group.ids, control = control, n = nvars, verbose = verbose) }`: ! task 26 failed - "no applicable method for 'logLik' applied to an object of class "function"" --- Backtrace: ▆ 1. └─abn::buildScoreCache(...) 2. └─abn::buildScoreCache.mle(...) 3. └─... %do% ... 4. └─e$fun(obj, substitute(ex), parent.frame(), e$data) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'mixed_effect_BN_model.Rmd' failed with diagnostics: task 26 failed - "no applicable method for 'logLik' applied to an object of class "function"" --- failed re-building ‘mixed_effect_BN_model.Rmd’ --- re-building ‘model_specification.Rmd’ using rmarkdown --- finished re-building ‘model_specification.Rmd’ --- re-building ‘multiprocessing.Rmd’ using rmarkdown --- finished re-building ‘multiprocessing.Rmd’ --- re-building ‘parameter_learning.Rmd’ using rmarkdown --- finished re-building ‘parameter_learning.Rmd’ --- re-building ‘quick_start_example.Rmd’ using rmarkdown --- finished re-building ‘quick_start_example.Rmd’ --- re-building ‘structure_learning.Rmd’ using rmarkdown --- finished re-building ‘structure_learning.Rmd’ SUMMARY: processing the following file failed: ‘mixed_effect_BN_model.Rmd’ Error: Vignette re-building failed. Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 3.1.13
Check: tests
Result: ERROR Running ‘testthat.R’ [15m/15m] 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.13 (2025-12-18) is loaded. To cite the package 'abn' in publications call: citation('abn'). > > # Set the number of threads for BLAS and OpenMP if possible > if (requireNamespace("RhpcBLASctl", quietly = TRUE)) { + RhpcBLASctl::blas_set_num_threads(2) + } else { + # E.g., on CRAN noSuggests environment, RhpcBLASctl is not available + message("RhpcBLASctl is not available, BLAS thread control will not be set.") + } > > 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. OMP: Warning #96: Cannot form a team with 8 threads, using 2 instead. OMP: Hint Consider unsetting KMP_DEVICE_THREAD_LIMIT (KMP_ALL_THREADS), KMP_TEAMS_THREAD_LIMIT, and OMP_THREAD_LIMIT (if any are set). [ FAIL 1 | WARN 1 | SKIP 58 | PASS 499 ] ══ Skipped tests (58) ══════════════════════════════════════════════════════════ • BuildScoreCache(method=mle) crashes with Poisson nodes (1): 'test-fitabn_mle.R:138:3' • INLA is not tested on CRAN (2): 'test-build_score_cache.R:124:5', 'test-search_hillclimber.R:79:7' • On CRAN (54): 'test-Coutput.R:1:1', 'test-abn-internal.R:138:3', 'test-abn-methods.R:52:3', 'test-abn-methods.R:78:3', 'test-abn-methods.R:99:3', 'test-abn-methods.R:125:3', 'test-abn-methods.R:148:3', 'test-abn-methods.R:177:3', 'test-abn-methods.R:200:3', 'test-abn-methods.R:223:3', 'test-abn-methods.R:251:3', 'test-abn-methods.R:276:3', 'test-abn-methods.R:301:3', 'test-abn-methods.R:326:3', 'test-abn-methods.R:351:3', 'test-abn-methods.R:376:3', 'test-abn-methods.R:401:3', 'test-abn-methods.R:426:3', 'test-abn-methods.R:451:3', 'test-build_score_cache.R:129:3', 'test-build_score_cache.R:188:3', 'test-build_score_cache.R:338:3', 'test-build_score_cache.R:393:3', 'test-build_score_cache.R:441: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-fitabn_mle.R:575:11', 'test-fitabn_mle.R:691:11', '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:1:1', 'test-plot-abn.R:126: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:1:1', 'test-tographviz.R:52:1' • Plot classic view is deprecated. (1): 'test-plot-abn.R:118:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-simulateabn.R:945:13'): simulateAbn() works with grouping in real data. ── Error in `{ forLoopContent(row.num = row.num, mycache = mycache, data.dists = data.dists, data.df.multi = data.df.multi, adj.vars = adj.vars, data.df = data.df, data.df.lvl = data.df.lvl, group.var = group.var, group.ids = group.ids, control = control, n = nvars, verbose = verbose) }`: task 503 failed - "object 'fit' not found" Backtrace: ▆ 1. ├─base::suppressMessages(...) at test-simulateabn.R:914:3 2. │ └─base::withCallingHandlers(...) 3. ├─base::suppressWarnings(...) at test-simulateabn.R:915:5 4. │ └─base::withCallingHandlers(...) 5. ├─utils::capture.output(...) at test-simulateabn.R:917:9 6. │ └─base::withVisible(...elt(i)) 7. └─abn::buildScoreCache(...) at test-simulateabn.R:945:13 8. └─abn::buildScoreCache.mle(...) 9. └─... %do% ... 10. └─e$fun(obj, substitute(ex), parent.frame(), e$data) [ FAIL 1 | WARN 1 | SKIP 58 | PASS 499 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-fedora-clang

Version: 3.1.13
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: --- re-building ‘data_simulation.Rmd’ using rmarkdown --- finished re-building ‘data_simulation.Rmd’ --- re-building ‘mixed_effect_BN_model.Rmd’ using rmarkdown Quitting from mixed_effect_BN_model.Rmd:130-146 [unnamed-chunk-4] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <error/rlang_error> Error in `{ forLoopContent(row.num = row.num, mycache = mycache, data.dists = data.dists, data.df.multi = data.df.multi, adj.vars = adj.vars, data.df = data.df, data.df.lvl = data.df.lvl, group.var = group.var, group.ids = group.ids, control = control, n = nvars, verbose = verbose) }`: ! task 26 failed - "no applicable method for 'logLik' applied to an object of class "function"" --- Backtrace: ▆ 1. └─abn::buildScoreCache(...) 2. └─abn::buildScoreCache.mle(...) 3. └─... %do% ... 4. └─e$fun(obj, substitute(ex), parent.frame(), e$data) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'mixed_effect_BN_model.Rmd' failed with diagnostics: task 26 failed - "no applicable method for 'logLik' applied to an object of class "function"" --- failed re-building ‘mixed_effect_BN_model.Rmd’ --- re-building ‘model_specification.Rmd’ using rmarkdown --- finished re-building ‘model_specification.Rmd’ --- re-building ‘multiprocessing.Rmd’ using rmarkdown --- finished re-building ‘multiprocessing.Rmd’ --- re-building ‘parameter_learning.Rmd’ using rmarkdown --- finished re-building ‘parameter_learning.Rmd’ --- re-building ‘quick_start_example.Rmd’ using rmarkdown --- finished re-building ‘quick_start_example.Rmd’ --- re-building ‘structure_learning.Rmd’ using rmarkdown --- finished re-building ‘structure_learning.Rmd’ SUMMARY: processing the following file failed: ‘mixed_effect_BN_model.Rmd’ Error: Vignette re-building failed. Execution halted Flavor: r-devel-linux-x86_64-fedora-clang

Version: 3.1.13
Check: tests
Result: ERROR Running ‘testthat.R’ [20m/21m] 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.13 (2025-12-18) is loaded. To cite the package 'abn' in publications call: citation('abn'). > > # Set the number of threads for BLAS and OpenMP if possible > if (requireNamespace("RhpcBLASctl", quietly = TRUE)) { + RhpcBLASctl::blas_set_num_threads(2) + } else { + # E.g., on CRAN noSuggests environment, RhpcBLASctl is not available + message("RhpcBLASctl is not available, BLAS thread control will not be set.") + } > > 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. [ FAIL 1 | WARN 1 | SKIP 58 | PASS 499 ] ══ Skipped tests (58) ══════════════════════════════════════════════════════════ • BuildScoreCache(method=mle) crashes with Poisson nodes (1): 'test-fitabn_mle.R:138:3' • INLA is not tested on CRAN (2): 'test-build_score_cache.R:124:5', 'test-search_hillclimber.R:79:7' • On CRAN (54): 'test-Coutput.R:1:1', 'test-abn-internal.R:138:3', 'test-abn-methods.R:52:3', 'test-abn-methods.R:78:3', 'test-abn-methods.R:99:3', 'test-abn-methods.R:125:3', 'test-abn-methods.R:148:3', 'test-abn-methods.R:177:3', 'test-abn-methods.R:200:3', 'test-abn-methods.R:223:3', 'test-abn-methods.R:251:3', 'test-abn-methods.R:276:3', 'test-abn-methods.R:301:3', 'test-abn-methods.R:326:3', 'test-abn-methods.R:351:3', 'test-abn-methods.R:376:3', 'test-abn-methods.R:401:3', 'test-abn-methods.R:426:3', 'test-abn-methods.R:451:3', 'test-build_score_cache.R:129:3', 'test-build_score_cache.R:188:3', 'test-build_score_cache.R:338:3', 'test-build_score_cache.R:393:3', 'test-build_score_cache.R:441: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-fitabn_mle.R:575:11', 'test-fitabn_mle.R:691:11', '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:1:1', 'test-plot-abn.R:126: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:1:1', 'test-tographviz.R:52:1' • Plot classic view is deprecated. (1): 'test-plot-abn.R:118:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-simulateabn.R:945:13'): simulateAbn() works with grouping in real data. ── Error in `{ forLoopContent(row.num = row.num, mycache = mycache, data.dists = data.dists, data.df.multi = data.df.multi, adj.vars = adj.vars, data.df = data.df, data.df.lvl = data.df.lvl, group.var = group.var, group.ids = group.ids, control = control, n = nvars, verbose = verbose) }`: task 506 failed - "object 'fit' not found" Backtrace: ▆ 1. ├─base::suppressMessages(...) at test-simulateabn.R:914:3 2. │ └─base::withCallingHandlers(...) 3. ├─base::suppressWarnings(...) at test-simulateabn.R:915:5 4. │ └─base::withCallingHandlers(...) 5. ├─utils::capture.output(...) at test-simulateabn.R:917:9 6. │ └─base::withVisible(...elt(i)) 7. └─abn::buildScoreCache(...) at test-simulateabn.R:945:13 8. └─abn::buildScoreCache.mle(...) 9. └─... %do% ... 10. └─e$fun(obj, substitute(ex), parent.frame(), e$data) [ FAIL 1 | WARN 1 | SKIP 58 | PASS 499 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-fedora-gcc

Version: 3.1.13
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: --- re-building 'data_simulation.Rmd' using rmarkdown --- finished re-building 'data_simulation.Rmd' --- re-building 'mixed_effect_BN_model.Rmd' using rmarkdown --- re-building 'model_specification.Rmd' using rmarkdown --- finished re-building 'model_specification.Rmd' --- re-building 'multiprocessing.Rmd' using rmarkdown --- finished re-building 'multiprocessing.Rmd' --- re-building 'parameter_learning.Rmd' using rmarkdown --- finished re-building 'parameter_learning.Rmd' --- re-building 'quick_start_example.Rmd' using rmarkdown --- finished re-building 'quick_start_example.Rmd' --- re-building 'structure_learning.Rmd' using rmarkdown --- finished re-building 'structure_learning.Rmd' SUMMARY: processing the following file failed: 'mixed_effect_BN_model.Rmd' Error: Vignette re-building failed. Execution halted Flavors: r-devel-windows-x86_64, r-release-windows-x86_64, r-oldrel-windows-x86_64