R Under development (unstable) (2026-01-10 r89298 ucrt) -- "Unsuffered Consequences" Copyright (C) 2026 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 = 40, c0 = 0.1), The hyperparameters selected under BIC is (p = 40, c0 = 0.1)., p c0 AIC BIC 1 40 1e-05 76.38944 77.31540 2 60 1e-05 81.88816 83.03270 3 80 1e-05 86.75055 88.08825 4 100 1e-05 Inf Inf 5 120 1e-05 96.26520 97.98085 6 40 1e-04 81.87303 83.01637 7 60 1e-04 84.03800 85.26779 8 80 1e-04 88.17096 89.56497 9 100 1e-04 Inf Inf 10 120 1e-04 Inf Inf 11 40 1e-03 76.69865 77.63472 12 60 1e-03 73.06766 73.85992 13 80 1e-03 80.12031 81.19379 14 100 1e-03 79.34532 80.38784 15 120 1e-03 81.60101 82.73334 16 40 1e-02 65.23993 65.70702 17 60 1e-02 64.70808 65.15987 18 80 1e-02 60.84598 61.14626 19 100 1e-02 58.94175 59.16716 20 120 1e-02 59.58394 59.83535 21 40 1e-01 58.45325 58.48469 22 60 1e-01 59.68412 59.76445 23 80 1e-01 60.01920 60.11285 24 100 1e-01 60.25088 60.35372 25 120 1e-01 59.97496 60.06684 [ FAIL 0 | WARN 0 | SKIP 0 | PASS 61 ] > > proc.time() user system elapsed 66.40 1.20 67.57