R Under development (unstable) (2026-05-28 r90087 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(admix) Package 'admix' version 2.6.1 ------------------------------- Type 'citation("admix")' for citing this R package in publications. ------------------------------- This work was partly conducted within the Research Chair DIALog under the aegis of the Risk Foundation, an initiative by CNP Assurances. > > test_check("admix") Estimation (IBM method) Sample sizes: 500 / 600 Configuration: distinct known components Mixing weight (first sample): 0.461 Mixing weight (second sample): 0.675 Use `?estim_IBM` for further details. Call: estim_IBM(samples = list(ctx$data1, ctx$data2), admixMod = list(ctx$admixMod1, ctx$admixMod2), n.integ = 200) Data ---- Number of samples: 2 Sample sizes: 500 / 600 Known components equal: FALSE Sample 1 Known component: norm Known parameters: mean = 0, sd = 1 Sample 2 Known component: norm Known parameters: mean = 5, sd = 2 Estimation (IBM method) ----------------------- Configuration: distinct known components Mixing weight (first sample): 0.461 Mixing weight (second sample): 0.675 Integration ----------- Support (range preview): -2.639 -2.509 -2.501 ... 9.988 9.996 10.104 Use `?estim_IBM` for further details. In function 'IBM_gap': in case of identical known components, the mixing weight of the unknown component in the first sample, named 'fixed.p.X', was arbitrarily set to 0.2 In function 'IBM_gap': in case of identical known components, the mixing weight of the unknown component in the first sample, named 'fixed.p.X', was arbitrarily set to 0.2 Call: admix_estim() Method: PS - Number of samples: 1 sample size mix_weight Sample_1 100 0.750 Call: admix_model(knownComp_dist = "norm", knownComp_param = list(mean = 0, sd = 1)) Known component distribution: norm Known parameters: - mean = 0 - sd = 1 Default estimation method is 'BVdk' when testing with polynomial basis expansions (ensuring theoretical guarantees, but relying on symmetric unknown component densities). To consider other frameworks in the 2-sample case, use 'PS' estimator (setting argument 'est_method' to 'PS'). Default estimation method is 'BVdk' when testing with polynomial basis expansions (ensuring theoretical guarantees, but relying on symmetric unknown component densities). To consider other frameworks in the 2-sample case, use 'PS' estimator (setting argument 'est_method' to 'PS'). Default estimation method is 'BVdk' when testing with polynomial basis expansions (ensuring theoretical guarantees, but relying on symmetric unknown component densities). To consider other frameworks in the 2-sample case, use 'PS' estimator (setting argument 'est_method' to 'PS'). Default estimation method is 'BVdk' when testing with polynomial basis expansions (ensuring theoretical guarantees, but relying on symmetric unknown component densities). To consider other frameworks in the 2-sample case, use 'PS' estimator (setting argument 'est_method' to 'PS'). Estimation (PS method) Sample size: 500 Mixing weight (unknown): 0.311 c_n (penalization): 0.183 Selection method: fixed c_n Use `?estim_PS` for details on the penalization term. Call: estim_PS(samples = d$data1, admixMod = d$admixMod1, method = "fixed") Data ---- Sample size: 500 Known component: exp Known parameters: rate = 0.25 Estimation (PS method) ---------------------- Mixing weight (unknown): 0.311 c_n (penalization): 0.183 Selection method: fixed c_n Use `?estim_PS` for details on the penalization term. 'c.n' is not given. Fixing it to be '0.1*log(log(n)) [ FAIL 0 | WARN 0 | SKIP 95 | PASS 579 ] ══ Skipped tests (95) ══════════════════════════════════════════════════════════ • On CRAN (95): 'test-IBM-print-summary.R:2:3', 'test-IBM-print-summary.R:12:3', 'test-IBM-print-summary.R:25:3', 'test-IBM-print-summary.R:47:3', 'test-IBM_2samples_test.R:2:3', 'test-IBM_2samples_test.R:17:3', 'test-IBM_2samples_test.R:29:3', 'test-IBM_2samples_test.R:52:3', 'test-IBM_k_samples_test.R:18:3', 'test-IBM_k_samples_test.R:35:3', 'test-IBM_k_samples_test.R:47:3', 'test-IBM_k_samples_test.R:58:3', 'test-IBM_k_samples_test.R:73:3', 'test-IBM_k_samples_test.R:96:3', 'test-IBM_k_samples_test.R:124:3', 'test-IBM_k_samples_test.R:152:3', 'test-IBM_tabul_stochasticInteg.R:9:3', 'test-admix_cluster.R:18:3', 'test-admix_cluster.R:54:3', 'test-admix_cluster.R:76:3', 'test-admix_cluster.R:95:3', 'test-admix_cluster.R:152:3', 'test-admix_cluster.R:183:3', 'test-admix_cluster.R:202:3', 'test-admix_cluster.R:221:3', 'test-admix_cluster.R:253:3', 'test-admix_cluster.R:273:3', 'test-admix_estim-print-summary.R:71:3', 'test-estim_BVdk.R:27:3', 'test-estim_IBM.R:60:3', 'test-estim_IBM.R:68:3', 'test-estim_IBM.R:81:3', 'test-estim_IBM.R:89:3', 'test-estim_IBM.R:97:3', 'test-estim_IBM.R:106:3', 'test-estim_IBM.R:114:3', 'test-estim_IBM.R:122:3', 'test-estim_IBM.R:131:3', 'test-estim_IBM.R:141:3', 'test-estim_IBM.R:149:3', 'test-estim_IBM.R:161:3', 'test-estim_IBM.R:169:3', 'test-estim_IBM.R:177:3', 'test-estim_IBM.R:189:3', 'test-estim_IBM.R:199:3', 'test-estim_IBM.R:208:3', 'test-estim_IBM.R:218:3', 'test-estim_IBM.R:227:3', 'test-estim_IBM.R:236:3', 'test-estim_IBM.R:249:3', 'test-estim_IBM.R:259:3', 'test-estim_IBM.R:268:3', 'test-estim_IBM.R:277:3', 'test-estim_IBM.R:286:3', 'test-estim_IBM.R:297:3', 'test-estim_IBM.R:306:3', 'test-estim_IBM.R:321:3', 'test-estim_IBM.R:336:3', 'test-estim_IBM.R:351:3', 'test-estim_IBM.R:365:3', 'test-estim_IBM.R:379:3', 'test-estim_IBM.R:399:3', 'test-estim_IBM.R:426:3', 'test-estim_IBM.R:456:3', 'test-estim_IBM.R:516:3', 'test-estim_IBM.R:534:3', 'test-estim_IBM.R:552:3', 'test-estim_IBM.R:574:3', 'test-estim_IBM.R:597:3', 'test-extractors.R:69:3', 'test-extractors.R:77:3', 'test-extractors.R:90:3', 'test-extractors.R:125:3', 'test-extractors.R:132:3', 'test-extractors.R:139:3', 'test-extractors.R:163:3', 'test-extractors.R:188:3', 'test-extractors.R:214:3', 'test-extractors.R:239:3', 'test-extractors.R:255:3', 'test-extractors.R:279:3', 'test-orthobasis_test.R:48:3', 'test-orthobasis_test.R:74:3', 'test-orthobasis_test.R:97:3', 'test-orthobasis_test.R:117:3', 'test-orthobasis_test.R:136:3', 'test-orthobasis_test.R:155:3', 'test-orthobasis_test.R:176:3', 'test-utils.R:349:3', 'test-utils.R:358:3', 'test-utils.R:369:3', 'test-utils.R:379:3', 'test-utils.R:388:3', 'test-utils.R:399:3', 'test-utils.R:408:3' [ FAIL 0 | WARN 0 | SKIP 95 | PASS 579 ] > > proc.time() user system elapsed 40.85 5.59 46.71