R Under development (unstable) (2025-12-14 r89168 ucrt) -- "Unsuffered Consequences" Copyright (C) 2025 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/testing-design.html#sec-tests-files-overview > # * https://testthat.r-lib.org/articles/special-files.html > > library(testthat) > library(pvEBayes) > > test_check("pvEBayes") The alpha value selected under AIC is 0.9, The alpha value selected under BIC is 0.9. alpha AIC BIC num_mixture 1 0.0 NaN NaN 5 2 0.1 67.56839 68.04504 2 3 0.3 65.91857 66.39522 2 4 0.5 65.40076 65.87741 2 5 0.7 65.19264 65.66929 2 6 0.9 65.12052 65.59717 2 The hyperparameters selected under AIC is (p = 100, c0 = 0.01), The hyperparameters selected under BIC is (p = 100, c0 = 0.01)., p c0 AIC BIC 1 40 1e-05 76.64122 77.57719 2 60 1e-05 82.09038 83.24296 3 80 1e-05 86.97883 88.32560 4 100 1e-05 Inf Inf 5 120 1e-05 Inf Inf 6 40 1e-04 81.92258 83.06790 7 60 1e-04 84.03329 85.26290 8 80 1e-04 88.26148 89.65909 9 100 1e-04 88.57734 89.98753 10 120 1e-04 93.83367 95.45261 11 40 1e-03 76.76360 77.70226 12 60 1e-03 73.99918 74.82846 13 80 1e-03 80.36679 81.45007 14 100 1e-03 79.33364 80.37571 15 120 1e-03 81.56255 82.69337 16 40 1e-02 65.28914 65.75818 17 60 1e-02 65.09132 65.55842 18 80 1e-02 60.52302 60.81050 19 100 1e-02 50.69097 50.58801 20 120 1e-02 60.15795 60.43221 21 40 1e-01 61.60803 61.76482 22 60 1e-01 59.56945 59.64527 23 80 1e-01 58.81276 58.85853 24 100 1e-01 59.30008 59.36519 25 120 1e-01 60.14619 60.24492 [ FAIL 0 | WARN 0 | SKIP 0 | PASS 61 ] > > proc.time() user system elapsed 67.21 1.15 68.35