R Under development (unstable) (2025-06-26 r88362 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 1226.166 1273.831 200 2 0.1 1226.166 1273.831 200 3 0.3 1226.166 1273.831 200 4 0.5 1226.166 1273.831 200 5 0.7 1226.166 1273.831 200 6 0.9 1226.166 1273.831 200 The hyperparameters selected under AIC is (p = 120, c0 = 0.01), The hyperparameters selected under BIC is (p = 120, c0 = 0.01)., p c0 AIC BIC 1 40 1e-05 34.10699 34.42255 2 60 1e-05 34.90759 35.25496 3 80 1e-05 35.72419 36.10400 4 100 1e-05 37.80020 38.26246 5 120 1e-05 38.73868 39.23823 6 40 1e-04 29.66394 29.80296 7 60 1e-04 32.01391 32.24629 8 80 1e-04 33.63691 33.93376 9 100 1e-04 34.71119 35.05072 10 120 1e-04 35.61688 35.99239 11 40 1e-03 22.79611 22.66169 12 60 1e-03 26.97632 27.00808 13 80 1e-03 29.51066 29.64316 14 100 1e-03 30.55376 30.72775 15 120 1e-03 31.16307 31.36130 16 40 1e-02 24.28846 24.19956 17 60 1e-02 23.20719 23.07582 18 80 1e-02 21.68559 21.49393 19 100 1e-02 20.64329 20.41039 20 120 1e-02 19.15179 18.85971 21 40 1e-01 Inf Inf 22 60 1e-01 29.22741 29.31725 23 80 1e-01 Inf Inf 24 100 1e-01 28.85673 28.93186 25 120 1e-01 Inf Inf Object of class 'pvEBayes' General-gamma model with hyperparameter alpha = 0.5. Estimated prior is a mixture of 200 gamma distributions. Running time of the general-gamma model fitting: 0.1327 seconds. Running time for posterior draws (1000 signal strength posterior draws per AE-drug pair):0.0049 seconds. Extract estimated prior parameters, discovered signals and signal strength posterior draws using `summary()`.[ FAIL 0 | WARN 4 | SKIP 0 | PASS 19 ] [ FAIL 0 | WARN 4 | SKIP 0 | PASS 19 ] > > proc.time() user system elapsed 19.32 1.82 21.18