R version 4.5.0 alpha (2025-03-25 r88054 ucrt) 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. > # CRAN OMP THREAD LIMIT > Sys.setenv("OMP_THREAD_LIMIT" = 1) > > library(testthat) > library(shapr) Attaching package: 'shapr' The following object is masked from 'package:testthat': setup > > test_check("shapr") Success with message: max_n_coalitions is NULL or larger than or 2^n_features = 32, and is therefore set to 2^n_features = 32. * Model class: * Approach: gaussian * Iterative estimation: FALSE * Number of feature-wise Shapley values: 5 * Number of observations to explain: 3 -- Main computation started -- i Using 32 of 32 coalitions. Success with message: max_n_coalitions is NULL or larger than or 2^n_features = 32, and is therefore set to 2^n_features = 32. * Model class: * Approach: gaussian * Iterative estimation: FALSE * Number of feature-wise Shapley values: 5 * Number of observations to explain: 3 -- Main computation started -- i Using 32 of 32 coalitions. Note: Feature names extracted from the model contains NA. Consistency checks between model and data is therefore disabled. Success with message: max_n_coalitions is NULL or larger than or 2^n_features = 128, and is therefore set to 2^n_features = 128. * Model class: * Approach: empirical * Iterative estimation: FALSE * Number of feature-wise Shapley values: 7 * Number of observations to explain: 2 -- Main computation started -- i Using 128 of 128 coalitions. Note: Feature names extracted from the model contains NA. Consistency checks between model and data is therefore disabled. Success with message: max_n_coalitions is NULL or larger than or 2^n_features = 64, and is therefore set to 2^n_features = 64. * Model class: * Approach: empirical * Iterative estimation: FALSE * Number of feature-wise Shapley values: 6 * Number of observations to explain: 2 -- Main computation started -- i Using 64 of 64 coalitions. Note: Feature names extracted from the model contains NA. Consistency checks between model and data is therefore disabled. Success with message: max_n_coalitions is NULL or larger than or 2^n_features = 32, and is therefore set to 2^n_features = 32. * Model class: * Approach: empirical * Iterative estimation: FALSE * Number of feature-wise Shapley values: 5 * Number of observations to explain: 2 -- Main computation started -- i Using 32 of 32 coalitions. Note: Feature names extracted from the model contains NA. Consistency checks between model and data is therefore disabled. Success with message: max_n_coalitions is NULL or larger than or 2^n_groups = 4, and is therefore set to 2^n_groups = 4. * Model class: * Approach: empirical * Iterative estimation: FALSE * Number of group-wise Shapley values: 2 * Number of observations to explain: 2 -- Main computation started -- i Using 4 of 4 coalitions. Note: Feature names extracted from the model contains NA. Consistency checks between model and data is therefore disabled. Success with message: max_n_coalitions is NULL or larger than or 2^n_groups = 4, and is therefore set to 2^n_groups = 4. * Model class: * Approach: empirical * Iterative estimation: FALSE * Number of group-wise Shapley values: 2 * Number of observations to explain: 2 -- Main computation started -- i Using 4 of 4 coalitions. Note: Feature names extracted from the model contains NA. Consistency checks between model and data is therefore disabled. Success with message: max_n_coalitions is NULL or larger than or 2^n_groups = 4, and is therefore set to 2^n_groups = 4. * Model class: * Approach: empirical * Iterative estimation: FALSE * Number of group-wise Shapley values: 2 * Number of observations to explain: 2 -- Main computation started -- i Using 4 of 4 coalitions. Success with message: max_n_coalitions is NULL or larger than or 2^n_features = 32, and is therefore set to 2^n_features = 32. Success with message: max_n_coalitions is NULL or larger than or 2^n_features = 32, and is therefore set to 2^n_features = 32. * Model class: * Approach: independence * Iterative estimation: TRUE * Number of feature-wise Shapley values: 5 * Number of observations to explain: 3 -- iterative computation started -- -- Iteration 1 ----------------------------------------------------------------- i Using 6 of 32 coalitions, 6 new. -- Iteration 2 ----------------------------------------------------------------- i Using 8 of 32 coalitions, 2 new. -- Iteration 3 ----------------------------------------------------------------- i Using 10 of 32 coalitions, 2 new. -- Iteration 4 ----------------------------------------------------------------- i Using 12 of 32 coalitions, 2 new. -- Iteration 5 ----------------------------------------------------------------- i Using 14 of 32 coalitions, 2 new. -- Iteration 6 ----------------------------------------------------------------- i Using 16 of 32 coalitions, 2 new. -- Iteration 7 ----------------------------------------------------------------- i Using 18 of 32 coalitions, 2 new. -- Iteration 8 ----------------------------------------------------------------- i Using 20 of 32 coalitions, 2 new. Success with message: max_n_coalitions is NULL or larger than or 2^n_features = 32, and is therefore set to 2^n_features = 32. * Model class: * Approach: gaussian * Iterative estimation: TRUE * Number of feature-wise Shapley values: 5 * Number of observations to explain: 3 -- iterative computation started -- -- Iteration 1 ----------------------------------------------------------------- i Using 6 of 32 coalitions, 6 new. -- Iteration 2 ----------------------------------------------------------------- i Using 10 of 32 coalitions, 4 new. -- Iteration 3 ----------------------------------------------------------------- i Using 12 of 32 coalitions, 2 new. Success with message: max_n_coalitions is NULL or larger than or 2^n_groups = 32, and is therefore set to 2^n_groups = 32. * Model class: * Approach: gaussian * Iterative estimation: TRUE * Number of group-wise Shapley values: 5 * Number of observations to explain: 3 -- iterative computation started -- -- Iteration 1 ----------------------------------------------------------------- i Using 6 of 32 coalitions, 6 new. -- Iteration 2 ----------------------------------------------------------------- i Using 10 of 32 coalitions, 4 new. -- Iteration 3 ----------------------------------------------------------------- i Using 12 of 32 coalitions, 2 new. Success with message: max_n_coalitions is NULL or larger than or 2^n_features = 32, and is therefore set to 2^n_features = 32. * Model class: * Approach: empirical * Iterative estimation: FALSE * Number of feature-wise Shapley values: 5 * Number of observations to explain: 3 -- Main computation started -- i Using 32 of 32 coalitions. Success with message: max_n_coalitions is NULL or larger than or 2^n_features = 32, and is therefore set to 2^n_features = 32. * Model class: * Approach: empirical * Iterative estimation: FALSE * Number of feature-wise Shapley values: 5 * Number of observations to explain: 3 -- Main computation started -- i Using 32 of 32 coalitions. Success with message: max_n_coalitions is NULL or larger than or 2^n_features = 32, and is therefore set to 2^n_features = 32. * Model class: * Approach: ctree * Iterative estimation: FALSE * Number of feature-wise Shapley values: 5 * Number of observations to explain: 3 -- Main computation started -- i Using 32 of 32 coalitions. Success with message: max_n_coalitions is NULL or larger than or 2^n_features = 32, and is therefore set to 2^n_features = 32. * Model class: * Approach: ctree * Iterative estimation: FALSE * Number of feature-wise Shapley values: 5 * Number of observations to explain: 3 -- Main computation started -- i Using 32 of 32 coalitions. Success with message: max_n_coalitions is NULL or larger than or 2^n_features = 32, and is therefore set to 2^n_features = 32. • Model class: • Approach: independence • Iterative estimation: FALSE • Number of feature-wise Shapley values: 5 • Number of observations to explain: 3 ── Main computation started ── ℹ Using 32 of 32 coalitions. Success with message: max_n_coalitions is NULL or larger than or 2^n_features = 32, and is therefore set to 2^n_features = 32. • Model class: • Approach: empirical • Iterative estimation: FALSE • Number of feature-wise Shapley values: 5 • Number of observations to explain: 3 ── Main computation started ── ℹ Using 32 of 32 coalitions. Success with message: max_n_coalitions is NULL or larger than or 2^n_features = 32, and is therefore set to 2^n_features = 32. • Model class: • Approach: gaussian • Iterative estimation: FALSE • Number of feature-wise Shapley values: 5 • Number of observations to explain: 3 ── Main computation started ── ℹ Using 32 of 32 coalitions. Success with message: max_n_coalitions is NULL or larger than or 2^n_features = 32, and is therefore set to 2^n_features = 32. • Model class: • Approach: ctree • Iterative estimation: FALSE • Number of feature-wise Shapley values: 5 • Number of observations to explain: 3 ── Main computation started ── ℹ Using 32 of 32 coalitions. Success with message: max_n_coalitions is NULL or larger than or 2^n_features = 32, and is therefore set to 2^n_features = 32. • Model class: • Approach: empirical, ctree, gaussian, and ctree • Iterative estimation: FALSE • Number of feature-wise Shapley values: 5 • Number of observations to explain: 3 ── Main computation started ── ℹ Using 32 of 32 coalitions. The approximate 95% confidence intervals might be wide as they are only based on 3 observations. OMP: Warning #96: Cannot form a team with 48 threads, using 1 instead. OMP: Hint Consider unsetting KMP_DEVICE_THREAD_LIMIT (KMP_ALL_THREADS), KMP_TEAMS_THREAD_LIMIT, and OMP_THREAD_LIMIT (if any are set). * Model class: * Approach: ctree * Iterative estimation: FALSE * Number of feature-wise Shapley values: 5 * Number of observations to explain: 3 -- Main computation started -- i Using 10 of 32 coalitions. * Model class: * Approach: ctree * Iterative estimation: FALSE * Number of group-wise Shapley values: 3 * Number of observations to explain: 3 -- Main computation started -- i Using 6 of 8 coalitions. Success with message: max_n_coalitions is NULL or larger than or 2^n_features = 32, and is therefore set to 2^n_features = 32. * Model class: * Approach: empirical * Iterative estimation: FALSE * Number of feature-wise Shapley values: 5 * Number of observations to explain: 3 -- Main computation started -- i Using 32 of 32 coalitions. Success with message: max_n_coalitions is NULL or larger than or 2^n_features = 32, and is therefore set to 2^n_features = 32. * Model class: * Approach: empirical * Iterative estimation: FALSE * Number of feature-wise Shapley values: 5 * Number of observations to explain: 3 -- Main computation started -- i Using 32 of 32 coalitions. Success with message: max_n_coalitions is NULL or larger than or 2^n_features = 32, and is therefore set to 2^n_features = 32. * Model class: * Approach: empirical * Iterative estimation: FALSE * Number of feature-wise Shapley values: 5 * Number of observations to explain: 3 -- Main computation started -- i Using 32 of 32 coalitions. Success with message: max_n_coalitions is NULL or larger than or 2^n_features = 32, and is therefore set to 2^n_features = 32. * Model class: * Approach: gaussian * Iterative estimation: FALSE * Number of feature-wise Shapley values: 5 * Number of observations to explain: 3 -- Main computation started -- i Using 32 of 32 coalitions. Success with message: max_n_coalitions is NULL or larger than or 2^n_features = 32, and is therefore set to 2^n_features = 32. -- Starting `shapr::explain()` at 2025-03-26 11:21:36 -------------------------- * Model class: * Approach: gaussian * Iterative estimation: FALSE * Number of feature-wise Shapley values: 5 * Number of observations to explain: 3 * Computations (temporary) saved at: 'D:\temp\2025_03_26_11_10_17_17407\Rtmpuq3FMJ\shapr_obj_21ad88d44bb8.rds' -- Main computation started -- i Using 32 of 32 coalitions. Success with message: max_n_coalitions is NULL or larger than or 2^n_features = 32, and is therefore set to 2^n_features = 32. * Model class: * Approach: independence, empirical, gaussian, and copula * Iterative estimation: FALSE * Number of feature-wise Shapley values: 5 * Number of observations to explain: 3 -- Main computation started -- i Using 32 of 32 coalitions. Success with message: max_n_coalitions is NULL or larger than or 2^n_features = 32, and is therefore set to 2^n_features = 32. * Model class: * Approach: independence, empirical, gaussian, and copula * Iterative estimation: FALSE * Number of feature-wise Shapley values: 5 * Number of observations to explain: 3 -- Main computation started -- i Using 32 of 32 coalitions. Success with message: max_n_coalitions is NULL or larger than or 2^n_features = 32, and is therefore set to 2^n_features = 32. * Model class: * Approach: independence, empirical, gaussian, and copula * Iterative estimation: FALSE * Number of feature-wise Shapley values: 5 * Number of observations to explain: 3 -- Main computation started -- i Using 32 of 32 coalitions. Success with message: max_n_coalitions is NULL or larger than or 2^n_features = 32, and is therefore set to 2^n_features = 32. * Model class: * Approach: empirical * Iterative estimation: FALSE * Number of feature-wise Shapley values: 5 * Number of observations to explain: 3 -- Main computation started -- i Using 32 of 32 coalitions. Success with message: max_n_coalitions is NULL or larger than or 2^n_features = 32, and is therefore set to 2^n_features = 32. * Model class: * Approach: gaussian, gaussian, gaussian, and gaussian * Iterative estimation: FALSE * Number of feature-wise Shapley values: 5 * Number of observations to explain: 3 -- Main computation started -- i Using 32 of 32 coalitions. Success with message: max_n_coalitions is NULL or larger than or 2^n_features = 32, and is therefore set to 2^n_features = 32. * Model class: * Approach: independence, empirical, independence, and empirical * Iterative estimation: FALSE * Number of feature-wise Shapley values: 5 * Number of observations to explain: 3 -- Main computation started -- i Using 32 of 32 coalitions. Success with message: max_n_coalitions is NULL or larger than or 2^n_features = 32, and is therefore set to 2^n_features = 32. * Model class: * Approach: independence, empirical, independence, and empirical * Iterative estimation: FALSE * Number of feature-wise Shapley values: 5 * Number of observations to explain: 3 -- Main computation started -- i Using 32 of 32 coalitions. Success with message: max_n_coalitions is NULL or larger than or 2^n_features = 32, and is therefore set to 2^n_features = 32. * Model class: * Approach: vaeac * Iterative estimation: FALSE * Number of feature-wise Shapley values: 5 * Number of observations to explain: 3 -- Main computation started -- i Using 32 of 32 coalitions. Success with message: max_n_coalitions is NULL or larger than or 2^n_features = 32, and is therefore set to 2^n_features = 32. * Model class: * Approach: vaeac * Iterative estimation: FALSE * Number of feature-wise Shapley values: 5 * Number of observations to explain: 3 -- Main computation started -- i Using 32 of 32 coalitions. Success with message: max_n_coalitions is NULL or larger than or 2^n_features = 32, and is therefore set to 2^n_features = 32. * Model class: * Approach: vaeac * Iterative estimation: FALSE * Number of feature-wise Shapley values: 5 * Number of observations to explain: 3 -- Main computation started -- i Using 32 of 32 coalitions. Success with message: max_n_coalitions is NULL or larger than or 2^n_features = 32, and is therefore set to 2^n_features = 32. * Model class: * Approach: vaeac * Iterative estimation: FALSE * Number of feature-wise Shapley values: 5 * Number of observations to explain: 3 -- Main computation started -- i Using 32 of 32 coalitions. Success with message: max_n_coalitions is NULL or larger than or 2^n_features = 32, and is therefore set to 2^n_features = 32. * Model class: * Approach: vaeac * Iterative estimation: FALSE * Number of feature-wise Shapley values: 5 * Number of observations to explain: 3 -- Main computation started -- i Using 32 of 32 coalitions. Success with message: max_n_coalitions is NULL or larger than or 2^n_features = 32, and is therefore set to 2^n_features = 32. * Model class: * Approach: gaussian * Iterative estimation: FALSE * Number of feature-wise Shapley values: 5 * Number of observations to explain: 3 -- Main computation started -- i Using 32 of 32 coalitions. Success with message: max_n_coalitions is NULL or larger than or 2^n_groups = 32, and is therefore set to 2^n_groups = 32. * Model class: * Approach: gaussian * Iterative estimation: FALSE * Number of group-wise Shapley values: 5 * Number of observations to explain: 3 -- Main computation started -- i Using 32 of 32 coalitions. [ FAIL 0 | WARN 0 | SKIP 140 | PASS 42 ] ══ Skipped tests (140) ═════════════════════════════════════════════════════════ • On CRAN (140): 'test-asymmetric-causal-output.R:16:3', 'test-asymmetric-causal-output.R:35:3', 'test-asymmetric-causal-output.R:54:3', 'test-asymmetric-causal-output.R:74:3', 'test-asymmetric-causal-output.R:93:3', 'test-asymmetric-causal-output.R:112:3', 'test-asymmetric-causal-output.R:131:3', 'test-asymmetric-causal-output.R:151:3', 'test-asymmetric-causal-output.R:170:3', 'test-asymmetric-causal-output.R:189:3', 'test-asymmetric-causal-output.R:209:3', 'test-asymmetric-causal-output.R:228:3', 'test-asymmetric-causal-output.R:247:3', 'test-asymmetric-causal-output.R:267:3', 'test-asymmetric-causal-output.R:286:3', 'test-asymmetric-causal-output.R:307:3', 'test-asymmetric-causal-output.R:328:3', 'test-asymmetric-causal-output.R:348:3', 'test-asymmetric-causal-output.R:375:3', 'test-asymmetric-causal-output.R:394:3', 'test-asymmetric-causal-output.R:414:3', 'test-asymmetric-causal-output.R:433:3', 'test-asymmetric-causal-output.R:453:3', 'test-asymmetric-causal-output.R:476:3', 'test-asymmetric-causal-output.R:498:3', 'test-asymmetric-causal-output.R:518:3', 'test-asymmetric-causal-setup.R:4:3', 'test-asymmetric-causal-setup.R:232:3', 'test-asymmetric-causal-setup.R:256:3', 'test-asymmetric-causal-setup.R:321:3', 'test-forecast-output.R:4:3', 'test-forecast-output.R:23:3', 'test-forecast-output.R:46:3', 'test-forecast-output.R:70:3', 'test-forecast-output.R:94:3', 'test-forecast-output.R:114:3', 'test-forecast-output.R:135:3', 'test-forecast-output.R:156:3', 'test-forecast-output.R:181:3', 'test-forecast-setup.R:5:3', 'test-forecast-setup.R:34:3', 'test-forecast-setup.R:112:3', 'test-forecast-setup.R:137:3', 'test-forecast-setup.R:164:3', 'test-forecast-setup.R:226:3', 'test-forecast-setup.R:300:3', 'test-forecast-setup.R:350:3', 'test-forecast-setup.R:446:3', 'test-forecast-setup.R:519:3', 'test-iterative-output.R:4:3', 'test-iterative-output.R:21:3', 'test-iterative-output.R:42:3', 'test-iterative-output.R:65:3', 'test-iterative-output.R:90:3', 'test-iterative-output.R:112:3', 'test-iterative-output.R:182:3', 'test-iterative-output.R:265:3', 'test-iterative-output.R:282:3', 'test-iterative-output.R:299:3', 'test-iterative-output.R:316:3', 'test-iterative-output.R:335:3', 'test-iterative-setup.R:79:3', 'test-plot.R:66:3', 'test-plot.R:90:3', 'test-plot.R:124:3', 'test-plot.R:148:3', 'test-plot.R:172:3', 'test-plot.R:198:3', 'test-plot.R:279:3', 'test-regression-output.R:3:3', 'test-regression-output.R:21:3', 'test-regression-output.R:38:3', 'test-regression-output.R:56:3', 'test-regression-output.R:73:3', 'test-regression-output.R:90:3', 'test-regression-output.R:110:3', 'test-regression-output.R:129:3', 'test-regression-output.R:151:3', 'test-regression-output.R:172:3', 'test-regression-output.R:190:3', 'test-regression-output.R:207:3', 'test-regression-output.R:225:3', 'test-regression-output.R:244:3', 'test-regression-output.R:261:3', 'test-regression-output.R:278:3', 'test-regression-output.R:297:3', 'test-regression-setup.R:4:3', 'test-regression-setup.R:42:3', 'test-regression-setup.R:170:3', 'test-regression-setup.R:228:3', 'test-regression-setup.R:290:3', 'test-regression-setup.R:331:3', 'test-regular-output.R:4:3', 'test-regular-output.R:20:3', 'test-regular-output.R:37:3', 'test-regular-output.R:53:3', 'test-regular-output.R:71:3', 'test-regular-output.R:89:3', 'test-regular-output.R:108:3', 'test-regular-output.R:126:3', 'test-regular-output.R:142:3', 'test-regular-output.R:158:3', 'test-regular-output.R:176:3', 'test-regular-output.R:200:3', 'test-regular-output.R:218:3', 'test-regular-output.R:242:3', 'test-regular-output.R:258:3', 'test-regular-output.R:274:3', 'test-regular-output.R:291:3', 'test-regular-output.R:307:3', 'test-regular-output.R:323:3', 'test-regular-output.R:342:3', 'test-regular-output.R:358:3', 'test-regular-output.R:376:3', 'test-regular-output.R:401:3', 'test-regular-output.R:429:3', 'test-regular-output.R:457:3', 'test-regular-output.R:521:5', 'test-regular-output.R:546:3', 'test-regular-output.R:562:3', 'test-regular-output.R:586:3', 'test-regular-output.R:608:3', 'test-regular-setup.R:5:3', 'test-regular-setup.R:38:3', 'test-regular-setup.R:121:3', 'test-regular-setup.R:243:3', 'test-regular-setup.R:262:3', 'test-regular-setup.R:320:3', 'test-regular-setup.R:397:3', 'test-regular-setup.R:558:3', 'test-regular-setup.R:681:3', 'test-regular-setup.R:797:3', 'test-regular-setup.R:818:3', 'test-regular-setup.R:876:3', 'test-regular-setup.R:934:3', 'test-regular-setup.R:1040:3', 'test-regular-setup.R:1152:3', 'test-regular-setup.R:1224:3', 'test-regular-setup.R:1268:3', 'test-regular-setup.R:1408:3' [ FAIL 0 | WARN 0 | SKIP 140 | PASS 42 ] > > proc.time() user system elapsed 515.92 11.71 529.84