R version 4.6.0 alpha (2026-04-07 r89797 ucrt) 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. > library(testthat) > library(CausalMixGPD) Loading required package: nimble nimble version 1.4.2 is loaded. For more information on NIMBLE and a User Manual, please visit https://R-nimble.org. Attaching package: 'nimble' The following object is masked from 'package:stats': simulate The following object is masked from 'package:base': declare > testthat::set_max_fails(Inf) > > # Keep package checks at CRAN-level tests, regardless of ambient CI vars. > is_pkg_check <- nzchar(Sys.getenv("_R_CHECK_PACKAGE_NAME_")) || + nzchar(Sys.getenv("RCMDCHECK")) || + identical(tolower(Sys.getenv("NOT_CRAN", "")), "false") > > if (is_pkg_check) { + Sys.setenv(DPMIXGPD_TEST_LEVEL = "cran") + } > > # During explicit coverage runs, default to CI-level tests unless overridden. > if (!is_pkg_check && + (nzchar(Sys.getenv("DPMIXGPD_COVERAGE")) || + nzchar(Sys.getenv("COVERAGE")) || + nzchar(Sys.getenv("R_COVR")) || + any(grepl("covr", loadedNamespaces(), ignore.case = TRUE))) && + !nzchar(Sys.getenv("DPMIXGPD_TEST_LEVEL"))) { + Sys.setenv(DPMIXGPD_TEST_LEVEL = "ci") + } > > test_check("CausalMixGPD") Defining model [Note] Registering 'dLognormalGpd' as a distribution based on its use in BUGS code. If you make changes to the nimbleFunctions for the distribution, you must call 'deregisterDistributions' before using the distribution in BUGS code for those changes to take effect. Building model Setting data and initial values Checking model sizes and dimensions [Note] This model is not fully initialized. This is not an error. To see which variables are not initialized, use model$initializeInfo(). For more information on model initialization, see help(modelInitialization). ===== Monitors ===== thin = 1: alpha, beta_meanlog, beta_tail_scale, beta_threshold, sdlog, sdlog_u, tail_shape, threshold, w ===== Samplers ===== conjugate sampler (2) - beta_threshold[] (2 elements) categorical sampler (12) - z[] (12 elements) RW sampler (28) - alpha - sdlog[] (3 elements) - beta_meanlog[] (6 elements) - sdlog_u - beta_tail_scale[] (2 elements) - tail_shape - v[] (2 elements) - threshold[] (12 elements) [Note] Assigning an RW_block sampler to nodes with very different scales can result in low MCMC efficiency. If all nodes assigned to RW_block are not on a similar scale, we recommend providing an informed value for the "propCov" control list argument, or using the "barker" sampler instead. Defining model Building model Setting data and initial values Checking model sizes and dimensions [Note] This model is not fully initialized. This is not an error. To see which variables are not initialized, use model$initializeInfo(). For more information on model initialization, see help(modelInitialization). ===== Monitors ===== thin = 1: alpha, beta_meanlog, beta_tail_scale, beta_threshold, sdlog, sdlog_u, tail_shape, threshold, z ===== Samplers ===== conjugate sampler (2) - beta_threshold[] (2 elements) RW sampler (16) - sdlog_u - beta_tail_scale[] (2 elements) - tail_shape - threshold[] (12 elements) CRP_concentration sampler (1) - alpha CRP_cluster_wrapper sampler (9) - beta_meanlog[] (6 elements) - sdlog[] (3 elements) CRP sampler (1) - z[1:12] [Note] Assigning an RW_block sampler to nodes with very different scales can result in low MCMC efficiency. If all nodes assigned to RW_block are not on a similar scale, we recommend providing an informed value for the "propCov" control list argument, or using the "barker" sampler instead. [cluster] Validating configuration [cluster] Checking build/compile cache [cluster] Building model and MCMC configuration [cluster] Compiling NIMBLE model [cluster] Initializing chains [cluster] Running MCMC [cluster] Finalizing WAIC and diagnostics [cluster] Assembling fit object [ FAIL 0 | WARN 0 | SKIP 86 | PASS 1616 ] ══ Skipped tests (86) ══════════════════════════════════════════════════════════ • Coverage has been consolidated into test-ci-level-only.R. Use the coverage runner to execute that suite. (1): 'test-coverage.R:1:1' • Coverage-only suite disabled. Set DPMIXGPD_CI_COVERAGE_ONLY=1 to run. (1): 'test-ci-level-only.R:2:3' • On CRAN (1): 'test-unit.R:511:3' • Test level 'ci' required (current: 'cran'). Set DPMIXGPD_TEST_LEVEL='ci' to run. (81): 'test-ci.R:5:1', 'test-coverage-heavy.R:3:1', 'test-integration.R:4:1', 'test-performance-acceptance.R:2:3', 'test-performance-acceptance.R:27:3', 'test-performance-acceptance.R:54:3', 'test-performance-acceptance.R:79:3', 'test-performance-acceptance.R:111:3', 'test-performance-acceptance.R:162:3', 'test-performance-phase2-ess.R:2:3', 'test-performance-phase2-ess.R:23:3', 'test-performance-phase2-samplers.R:2:3', 'test-performance-phase2-samplers.R:19:3', 'test-performance-phase2-zupdate.R:2:3', 'test-progress.R:41:3', 'test-progress.R:91:3', 'test-unit.R:43:3', 'test-unit.R:49:3', 'test-unit.R:55:3', 'test-unit.R:61:3', 'test-unit.R:67:3', 'test-unit.R:73:3', 'test-unit.R:79:3', 'test-unit.R:85:3', 'test-unit.R:94:3', 'test-unit.R:100:3', 'test-unit.R:106:3', 'test-unit.R:112:3', 'test-unit.R:118:3', 'test-unit.R:124:3', 'test-unit.R:130:3', 'test-unit.R:136:3', 'test-unit.R:145:3', 'test-unit.R:151:3', 'test-unit.R:157:3', 'test-unit.R:163:3', 'test-unit.R:169:3', 'test-unit.R:175:3', 'test-unit.R:181:3', 'test-unit.R:187:3', 'test-unit.R:196:3', 'test-unit.R:202:3', 'test-unit.R:208:3', 'test-unit.R:214:3', 'test-unit.R:220:3', 'test-unit.R:226:3', 'test-unit.R:232:3', 'test-unit.R:238:3', 'test-unit.R:247:3', 'test-unit.R:253:3', 'test-unit.R:259:3', 'test-unit.R:265:3', 'test-unit.R:271:3', 'test-unit.R:277:3', 'test-unit.R:283:3', 'test-unit.R:289:3', 'test-unit.R:298:3', 'test-unit.R:304:3', 'test-unit.R:310:3', 'test-unit.R:316:3', 'test-unit.R:322:3', 'test-unit.R:328:3', 'test-unit.R:334:3', 'test-unit.R:340:3', 'test-unit.R:349:3', 'test-unit.R:355:3', 'test-unit.R:361:3', 'test-unit.R:367:3', 'test-unit.R:373:3', 'test-unit.R:379:3', 'test-unit.R:385:3', 'test-unit.R:391:3', 'test-unit.R:605:3', 'test-unit.R:655:3', 'test-unit.R:1101:3', 'test-unit.R:2068:3', 'test-unit.R:3661:3', 'test-unit.R:3693:3', 'test-unit.R:5264:3', 'test_cluster_fit_predict.R:1:1', 'test_cluster_methods.R:2:3' • Test level 'full' required (current: 'cran'). Set DPMIXGPD_TEST_LEVEL='full' to run. (2): 'test-performance-acceptance.R:181:3', 'test-performance-phase2-predict.R:2:3' [ FAIL 0 | WARN 0 | SKIP 86 | PASS 1616 ] > > proc.time() user system elapsed 59.64 3.92 140.37