R Under development (unstable) (2025-09-25 r88874 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, The alpha value selected under BIC is 0. alpha AIC BIC num_mixture 1 0.0 1253.112 1300.777 200 2 0.1 1253.112 1300.777 200 3 0.3 1253.112 1300.777 200 4 0.5 1253.112 1300.777 200 5 0.7 1253.112 1300.777 200 6 0.9 1253.112 1300.777 200 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 Object of class 'pvEBayes' General-gamma model with hyperparameter alpha = 0.1. Estimated prior is a mixture of 200 gamma distributions. Running time of the general-gamma model fitting: 0.1055 seconds. Running time for posterior draws (1000 signal strength posterior draws per AE-drug pair):0.0026 seconds. Extract estimated prior parameters, discovered signals and signal strength posterior draws using `summary()`. [ FAIL 0 | WARN 0 | SKIP 0 | PASS 19 ] > > proc.time() user system elapsed 54.00 1.60 55.59