R Under development (unstable) (2023-09-30 r85239 ucrt) -- "Unsuffered Consequences" Copyright (C) 2023 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > # 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.0.1 (2023-09-29) is loaded. To cite the package 'abn' in publications call: citation('abn'). Attaching package: 'abn' The following object is masked from 'package:base': factorial > > test_check("abn") Iteration 1 - deviance = 801.89 - criterion = 2.014199 Iteration 2 - deviance = 800.5341 - criterion = 0.04426251 Iteration 3 - deviance = 800.5339 - criterion = 5.210016e-06 Iteration 4 - deviance = 800.5339 - criterion = 5.363507e-13 converged Iteration 1 - deviance = 798.6166 - criterion = 1.874215 Iteration 2 - deviance = 797.3505 - criterion = 0.03945357 Iteration 3 - deviance = 797.3503 - criterion = 8.411144e-06 Iteration 4 - deviance = 797.3503 - criterion = 6.416675e-13 converged Iteration 1 - deviance = 800.841 - criterion = 1.953695 Iteration 2 - deviance = 799.4241 - criterion = 0.04384531 Iteration 3 - deviance = 799.424 - criterion = 5.262527e-06 Iteration 4 - deviance = 799.424 - criterion = 7.763524e-13 converged Iteration 1 - deviance = 733.9755 - criterion = 1.056032 Iteration 2 - deviance = 730.6673 - criterion = 0.04998392 Iteration 3 - deviance = 730.577 - criterion = 0.002808114 Iteration 4 - deviance = 730.5768 - criterion = 7.365004e-06 Iteration 5 - deviance = 730.5768 - criterion = 3.999521e-11 converged boundary (singular) fit: see help('isSingular') boundary (singular) fit: see help('isSingular') boundary (singular) fit: see help('isSingular') boundary (singular) fit: see help('isSingular') Iteration 1 - deviance = 733.9755 - criterion = 1.056032 Iteration 2 - deviance = 730.6673 - criterion = 0.04998392 Iteration 3 - deviance = 730.577 - criterion = 0.002808114 Iteration 4 - deviance = 730.5768 - criterion = 7.365004e-06 Iteration 5 - deviance = 730.5768 - criterion = 3.999521e-11 converged boundary (singular) fit: see help('isSingular') Iteration 1 - deviance = 801.89 - criterion = 2.014199 Iteration 2 - deviance = 800.5341 - criterion = 0.04426251 Iteration 3 - deviance = 800.5339 - criterion = 5.210016e-06 Iteration 4 - deviance = 800.5339 - criterion = 5.363507e-13 converged Iteration 1 - deviance = 798.6166 - criterion = 1.874215 Iteration 2 - deviance = 797.3505 - criterion = 0.03945357 Iteration 3 - deviance = 797.3503 - criterion = 8.411144e-06 Iteration 4 - deviance = 797.3503 - criterion = 6.416675e-13 converged Iteration 1 - deviance = 800.841 - criterion = 1.953695 Iteration 2 - deviance = 799.4241 - criterion = 0.04384531 Iteration 3 - deviance = 799.424 - criterion = 5.262527e-06 Iteration 4 - deviance = 799.424 - criterion = 7.763524e-13 converged Iteration 1 - deviance = 733.9755 - criterion = 1.056032 Iteration 2 - deviance = 730.6673 - criterion = 0.04998392 Iteration 3 - deviance = 730.577 - criterion = 0.002808114 Iteration 4 - deviance = 730.5768 - criterion = 7.365004e-06 Iteration 5 - deviance = 730.5768 - criterion = 3.999521e-11 converged boundary (singular) fit: see help('isSingular') boundary (singular) fit: see help('isSingular') boundary (singular) fit: see help('isSingular') boundary (singular) fit: see help('isSingular') Iteration 1 - deviance = 801.89 - criterion = 2.014199 Iteration 2 - deviance = 800.5341 - criterion = 0.04426251 Iteration 3 - deviance = 800.5339 - criterion = 5.210016e-06 Iteration 4 - deviance = 800.5339 - criterion = 5.363507e-13 converged boundary (singular) fit: see help('isSingular') [ FAIL 0 | WARN 0 | SKIP 38 | PASS 444 ] ══ Skipped tests (38) ══════════════════════════════════════════════════════════ • BuildScoreCache(method=mle) crashes with Poisson nodes (1): 'test-fitabn_mle.R:132:3' • Numerical results are not tested for method='bayes' (2): 'test-build_score_cache_bayes.R:51:3', 'test-build_score_cache_bayes.R:104:3' • On CRAN (3): 'test-plot-abn.R:34:3', 'test-tographviz.R:27:3', 'test-tographviz.R:171:3' • Plot classic view is deprecated. (1): 'test-plot-abn.R:117:3' • calc.node.inla.glm() test not yet implemented. (1): 'test-calc_node_inla_glm.R:2:3' • calc.node.inla.glmm() test not yet implemented. (1): 'test-calc_node_inla_glmm.R:2:3' • empty test (27): 'test-abn-methods.R:15:1', 'test-abn-methods.R:71:1', 'test-abn-methods.R:186:1', 'test-abn-methods.R:396:1', 'test-build_score_cache.R:316:1', 'test-build_score_cache.R:369:1', 'test-build_score_cache_mle.R:1:1', 'test-build_score_cache_mle.R:34:1', 'test-build_score_cache_mle.R:84:1', 'test-build_score_cache_mle.R:119:1', 'test-build_score_cache_mle.R:155:1', 'test-build_score_cache_mle.R:214:1', 'test-build_score_cache_mle.R:252:1', 'test-fitabn_mle.R:1:1', 'test-fitabn_mle.R:35:1', 'test-fitabn_mle.R:84:1', 'test-fitabn_mle.R:195:1', 'test-fitabn_mle.R:283:1', 'test-fitabn_mle.R:379:1', 'test-fitabn_mle.R:475:1', 'test-fitabn_mle.R:584:1', 'test-mostprobable.R:163:1', 'test-search_hillclimber.R:48:1', 'test-simulateabn.R:556:1', 'test-simulateabn.R:627:1', 'test-simulateabn.R:726:1', 'test-simulateabn.R:826:1' • getmarginals() tests not yet implemented. (1): 'test-getmarginals.R:2:3' • plotting for abnHillClimber is not up to date with searchHillClimber()'s output. (1): 'test-abn-methods.R:117:3' [ FAIL 0 | WARN 0 | SKIP 38 | PASS 444 ] Deleting unused snapshots: • tographviz/graph.dot • tographviz/graph1.dot • tographviz/graph_group.dot > > proc.time() user system elapsed 259.95 1.56 264.17