* using log directory ‘/data/localhost/ripley/R/packages/tests-MKL/forestsearch.Rcheck’ * using R Under development (unstable) (2026-10-28 r90786) * using platform: x86_64-pc-linux-gnu * R was compiled by gcc (GCC) 16.2.1 20260819 (Red Hat 16.2.1-2) GNU Fortran (GCC) 16.2.1 20260819 (Red Hat 16.2.1-2) * running under: Fedora Linux 44 (Server Edition) * using session charset: UTF-8 * current time: 2026-10-30 00:06:25 UTC * using option ‘--no-stop-on-test-error’ * checking for file ‘forestsearch/DESCRIPTION’ ... OK * this is package ‘forestsearch’ version ‘0.4.0’ * package encoding: UTF-8 * checking package namespace information ... OK * checking package dependencies ... OK * checking if this is a source package ... OK * checking if there is a namespace ... OK * checking for executable files ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking for sufficient/correct file permissions ... OK * checking whether package ‘forestsearch’ can be installed ... [36s/37s] OK * checking package directory ... OK * checking ‘build’ directory ... OK * checking DESCRIPTION meta-information ... OK * checking top-level files ... OK * checking for left-over files ... OK * checking index information ... OK * checking package subdirectories ... OK * checking code files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... OK * checking whether the package can be loaded with stated dependencies ... OK * checking whether the package can be unloaded cleanly ... OK * checking whether the namespace can be loaded with stated dependencies ... OK * checking whether the namespace can be unloaded cleanly ... OK * checking loading without being on the library search path ... OK * checking use of S3 registration ... OK * checking dependencies in R code ... OK * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... [84s/87s] OK * checking Rd files ... OK * checking Rd metadata ... OK * checking Rd line widths ... OK * checking Rd cross-references ... OK * checking for missing documentation entries ... OK * checking for code/documentation mismatches ... OK * checking Rd \usage sections ... OK * checking Rd contents ... OK * checking for unstated dependencies in examples ... OK * checking installed files from ‘inst/doc’ ... OK * checking files in ‘vignettes’ ... OK * checking examples ... OK * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... Running ‘testthat.R’ [73s/80s] [73s/81s] ERROR Running the tests in ‘tests/testthat.R’ failed. Complete output: > # 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(forestsearch) > > test_check("forestsearch") Saving _problems/test-betaHhat-contract-224.R Saving _problems/test-betaHhat-contract-225.R Saving _problems/test-fs-oc-predict-149.R Saving _problems/test-fs_sym_root-59.R Saving _problems/test-fs_sym_root-89.R Saving _problems/test-fs_sym_root-93.R [forestsearch] Subgroup Identification Configuration Outcome type: binary Effect measure: OR (Odds Ratio) Scale: log (ratio) Screening: OR >= 1.10 (log: 0.0953) Consistency: OR >= 1.00 (log: 0.0000) Consistency rate threshold: 30% Interpretation: Candidates: subgroup OR >= 1.10 Splits: each split OR >= 1.00 [forestsearch] Subgroup Identification Configuration Outcome type: continuous Effect measure: MD (Mean Difference) Scale: identity Screening: MD >= 0.0000 Consistency: MD >= 0.0000 Consistency rate threshold: 30% Interpretation: Candidates: MD >= 0.0000 Splits: MD >= 0.0000 per split [forestsearch] Subgroup Identification Configuration Outcome type: count Effect measure: IRR (Incidence Rate Ratio) Scale: log (ratio) Screening: IRR >= 1.10 (log: 0.0953) Consistency: IRR >= 1.00 (log: 0.0000) Consistency rate threshold: 30% Interpretation: Candidates: subgroup IRR >= 1.10 Splits: each split IRR >= 1.00 # of continuous/categorical characteristics 1 1 Continuous characteristics: age Categorical characteristics: bm1 Default cuts included (1st 20) age <= mean(age) age <= median(age) age <= qlow(age) age <= qhigh(age) Categorical: bm1 Factors per GRF: age <= 57 age <= 55 age <= 66 Initial GRF cuts included age <= 57 age <= 55 age <= 66 Cut coarsening: 7 -> 6 candidates (c=1, safety_tol=0.05, digits=0) age <= {55.1} -> age <= 55 (0 subj moved) ===== CONSOLIDATED CUT EVALUATION (IMPROVED) ===== Evaluating 6 cut expressions once and caching... Cut evaluation summary: Total cuts: 6 Valid cuts: 6 Errors: 0 ✓ All 6 factors validated as 0/1 ===== END CONSOLIDATED CUT EVALUATION ===== # of candidate subgroup factors= 6 [1] "age <= 57" "age <= 55" "age <= 66" "age <= 48" "age <= 62" "bm1" Saving _problems/test-knoise-population-130.R Saving _problems/test-mr-admission-rounded-77.R Saving _problems/test-mr-admission-rounded-106.R Saving _problems/test-mr-admission-rounded-107.R [ FAIL 10 | WARN 18 | SKIP 81 | PASS 2025 ] ══ Skipped tests (81) ══════════════════════════════════════════════════════════ • On CRAN (65): 'test-binary-default-or.R:15:1', 'test-cross-outcome-parity.R:98:3', 'test-cross-outcome-parity.R:149:3', 'test-cross-outcome-parity.R:187:3', 'test-cross-outcome-parity.R:225:3', 'test-cross-outcome-parity.R:255:3', 'test-cross-outcome-parity.R:295:3', 'test-cross-outcome-parity.R:351:3', 'test-cv-mixed-and-fatal.R:157:3', 'test-cv-mixed-and-fatal.R:271:3', 'test-cv-mixed-and-fatal.R:302:3', 'test-cv-no-subgroup-dina-grf.R:58:7', 'test-cv-no-subgroup-dina-grf.R:58:7', 'test-cv-no-subgroup-dina-grf.R:58:7', 'test-cv-no-subgroup-dina-grf.R:58:7', 'test-cv-no-subgroup-edges.R:63:3', 'test-cv-no-subgroup-edges.R:98:3', 'test-cv-no-subgroup-edges.R:115:3', 'test-cv-no-subgroup-edges.R:156:3', 'test-cv-no-subgroup-edges.R:181:3', 'test-cv-no-subgroup-edges.R:215:3', 'test-declaration-c0.R:9:1', 'test-declaration-calibration.R:10:1', 'test-dina-bootstrap-sg-focus-whitelist.R:43:3', 'test-dina-bootstrap-sg-focus-whitelist.R:60:3', 'test-directive-c.R:15:1', 'test-downstream-consumers.R:209:3', 'test-downstream-consumers.R:237:3', 'test-downstream-consumers.R:284:3', 'test-downstream-consumers.R:327:3', 'test-grf-inclusion-band.R:16:1', 'test-mr-inference.R:20:1', 'test-no-subgroup-bootstrap.R:51:5', 'test-no-subgroup-bootstrap.R:51:5', 'test-no-subgroup-bootstrap.R:77:3', 'test-no-subgroup-cv.R:59:5', 'test-no-subgroup-cv.R:74:5', 'test-no-subgroup-cv.R:92:5', 'test-no-subgroup-cv.R:59:5', 'test-no-subgroup-cv.R:74:5', 'test-no-subgroup-cv.R:92:5', 'test-no-subgroup-cv.R:59:5', 'test-no-subgroup-cv.R:74:5', 'test-no-subgroup-cv.R:92:5', 'test-no-subgroup-cv.R:59:5', 'test-no-subgroup-cv.R:74:5', 'test-no-subgroup-cv.R:92:5', 'test-no-subgroup-dina-grf-plot.R:60:5', 'test-no-subgroup-dina-grf-plot.R:60:5', 'test-no-subgroup-dina-grf-plot.R:85:5', 'test-no-subgroup-dina-grf-plot.R:85:5', 'test-no-subgroup-dina-grf-summary.R:59:7', 'test-no-subgroup-dina-grf-summary.R:59:7', 'test-no-subgroup-dina-grf-summary.R:59:7', 'test-no-subgroup-dina-grf-summary.R:59:7', 'test-no-subgroup-dina-grf-summary.R:76:3', 'test-no-subgroup-unified-contract.R:41:5', 'test-no-subgroup-unified-contract.R:41:5', 'test-no-subgroup-unified-contract.R:41:5', 'test-no-subgroup-unified-contract.R:57:3', 'test-return-shape-contract.R:22:1', 'test-search-reproducibility.R:66:3', 'test-sg-focus-transparency.R:122:3', 'test-sg-focus-transparency.R:148:3', 'test-sg-focus-transparency.R:170:3' • baseline CSV not in this tree (1): 'test-threshold-pair-directive-a.R:148:3' • package source not available (1): 'test-estimability-boundary.R:158:3' • pre-refactor reference not present (dev/ not shipped) (2): 'test-fs-oc-grid.R:41:3', 'test-fs-oc-null.R:102:3' • simulation modules not present (3): 'test-betaHhat-contract.R:429:3', 'test-betaHhat-contract.R:462:3', 'test-betaHhat-contract.R:502:3' • threshold probe unavailable on this surface -- it lifts statements out of body(forestsearch) by deparsed text and cannot match them against the installed, byte-compiled package. These tests are gated on devtools::load_all() per CLAUDE.md. Cause: resolver evaluated to an error: could not find function ".probe_record" (9): 'test-threshold-pair-directive-a.R:45:3', 'test-threshold-pair-directive-a.R:66:3', 'test-threshold-pair-directive-a.R:87:3', 'test-threshold-pair-directive-a.R:127:3', 'test-threshold-sync.R:106:3', 'test-threshold-sync.R:123:3', 'test-threshold-sync.R:141:3', 'test-threshold-sync.R:152:3', 'test-threshold-sync.R:165:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-betaHhat-contract.R:224:5'): T9: repeated evaluation of a resolved target is bit-identical ── Expected `max(v) - min(v)` to be identical to 0. Differences: `actual`: 0.0000000000000027 `expected`: 0.0000000000000000 ── Failure ('test-betaHhat-contract.R:225:5'): T9: repeated evaluation of a resolved target is bit-identical ── Expected `length(unique(v))` to be identical to 1L. Differences: `actual`: 2 `expected`: 1 ── Failure ('test-fs-oc-predict.R:149:3'): the family is deterministic and the prediction is seed-reproducible ── Expected `p1[oc_quantities]` to be identical to `p2[oc_quantities]`. Differences: `actual$Enaive_bias`: 50.8061831170 `expected$Enaive_bias`: 50.8061831148 ── Failure ('test-fs_sym_root.R:59:3'): the returned root is symmetric ───────── Expected `max(abs(fs_sym_root(S_def) - t(fs_sym_root(S_def))))` < 1e-14. Actual comparison: 0.00000000713053 >= 0.00000000000001 Difference: 0.00000000713052 >= 0 ── Failure ('test-fs_sym_root.R:89:3'): arithmetically equivalent constructions give bit-identical roots ── Expected `fs_sym_root(S0)` to be identical to `fs_sym_root(t(S0))`. Differences: actual | expected [1] 0.1141724761708529 - 0.1141724761702124 [1] [2] -0.0537194555257331 - -0.0537194555258878 [2] [3] -0.0666751696143246 - -0.0666751696150396 [3] [4] -0.0862840569781716 - -0.0862840569779006 [4] [5] 0.0434421181338177 - 0.0434421181345393 [5] [6] -0.0327819263128385 - -0.0327819263133750 [6] [7] 0.0212962714983982 - 0.0212962714987302 [7] [8] -0.1105467374022294 - -0.1105467374019816 [8] [9] -0.1984382865667452 - -0.1984382865668806 [9] [10] 0.0068027939902065 - 0.0068027939902571 [10] ... ... ... and 246 more ... ── Failure ('test-fs_sym_root.R:93:3'): arithmetically equivalent constructions give bit-identical roots ── Expected `fs_sym_root(S0)` to be identical to `fs_sym_root(M)`. Differences: actual | expected [1] 0.1141724761708529 - 0.1141724761702124 [1] [2] -0.0537194555257331 - -0.0537194555258878 [2] [3] -0.0666751696143246 - -0.0666751696150396 [3] [4] -0.0862840569781716 - -0.0862840569779006 [4] [5] 0.0434421181338177 - 0.0434421181345393 [5] [6] -0.0327819263128385 - -0.0327819263133750 [6] [7] 0.0212962714983982 - 0.0212962714987302 [7] [8] -0.1105467374022294 - -0.1105467374019816 [8] [9] -0.1984382865667452 - -0.1984382865668806 [9] [10] 0.0068027939902065 - 0.0068027939902571 [10] ... ... ... and 246 more ... ── Failure ('test-knoise-population.R:130:3'): generate_glm_dgm k_random_noise perturbs nothing but the noise columns ── Expected `g3$df_super[names(g0$df_super)]` to be identical to `g0$df_super`. Differences: actual$p0 | expected$p0 [1] 0.58026944854188200 | 0.58026944854188200 [1] [2] 0.58026944854188200 | 0.58026944854188200 [2] [3] 0.59991825465144588 | 0.59991825465144588 [3] [4] 0.56476033532696979 - 0.56476033532696990 [4] [5] 0.54469530481832418 - 0.54469530481832429 [5] [6] 0.58026944854188200 | 0.58026944854188200 [6] [7] 0.56476033532696979 - 0.56476033532696990 [7] [8] 0.54469530481832418 - 0.54469530481832429 [8] [9] 0.56476033532696979 - 0.56476033532696990 [9] [10] 0.58026944854188200 | 0.58026944854188200 [10] ... ... ... and 124 more ... actual$p0 | expected$p0 [135] 0.59991825465144588 | 0.59991825465144588 [135] [136] 0.58026944854188200 | 0.58026944854188200 [136] [137] 0.58026944854188200 | 0.58026944854188200 [137] [138] 0.54469530481832418 - 0.54469530481832429 [138] [139] 0.56476033532696979 - 0.56476033532696990 [139] [140] 0.58026944854188200 | 0.58026944854188200 [140] [141] 0.56476033532696979 - 0.56476033532696990 [141] [142] 0.54469530481832418 - 0.54469530481832429 [142] [143] 0.58026944854188200 | 0.58026944854188200 [143] [144] 0.54469530481832418 - 0.54469530481832429 [144] ... ... ... and 447 more ... actual$p0 | expected$p0 [593] 0.59991825465144588 | 0.59991825465144588 [593] [594] 0.59991825465144588 | 0.59991825465144588 [594] [595] 0.59991825465144588 | 0.59991825465144588 [595] [596] 0.56476033532696979 - 0.56476033532696990 [596] [597] 0.56476033532696979 - 0.56476033532696990 [597] [598] 0.59991825465144588 | 0.59991825465144588 [598] [599] 0.59991825465144588 | 0.59991825465144588 [599] [600] 0.54469530481832418 - 0.54469530481832429 [600] [601] 0.54469530481832418 - 0.54469530481832429 [601] [602] 0.59991825465144588 | 0.59991825465144588 [602] ... ... ... and 25 more ... actual$p0 | expected$p0 [628] 0.59991825465144588 | 0.59991825465144588 [628] [629] 0.58026944854188200 | 0.58026944854188200 [629] [630] 0.59991825465144588 | 0.59991825465144588 [630] [631] 0.54469530481832418 - 0.54469530481832429 [631] [632] 0.54469530481832418 - 0.54469530481832429 [632] [633] 0.59991825465144588 | 0.59991825465144588 [633] [634] 0.54469530481832418 - 0.54469530481832429 [634] [635] 0.56476033532696979 - 0.56476033532696990 [635] [636] 0.56476033532696979 - 0.56476033532696990 [636] [637] 0.59991825465144588 | 0.59991825465144588 [637] ... ... ... and 152 more ... actual$p0 | expected$p0 [791] 0.59991825465144588 | 0.59991825465144588 [791] [792] 0.58026944854188200 | 0.58026944854188200 [792] [793] 0.58026944854188200 | 0.58026944854188200 [793] [794] 0.56476033532696979 - 0.56476033532696990 [794] [795] 0.56476033532696979 - 0.56476033532696990 [795] [796] 0.56476033532696979 - 0.56476033532696990 [796] [797] 0.58026944854188200 | 0.58026944854188200 [797] [798] 0.58026944854188200 | 0.58026944854188200 [798] [799] 0.58026944854188200 | 0.58026944854188200 [799] [800] 0.59991825465144588 | 0.59991825465144588 [800] ... ... ... and 200 more ... actual$p1 | expected$p1 [1] 0.69190636399700034 | 0.69190636399700034 [1] [2] 0.69190636399700034 | 0.69190636399700034 [2] [3] 0.59635294169698150 | 0.59635294169698150 [3] [4] 0.56111092458146838 - 0.56111092458146850 [4] [5] 0.54101438382656064 - 0.54101438382656075 [5] [6] 0.69190636399700034 | 0.69190636399700034 [6] [7] 0.56111092458146838 - 0.56111092458146850 [7] [8] 0.54101438382656064 - 0.54101438382656075 [8] [9] 0.56111092458146838 - 0.56111092458146850 [9] [10] 0.69190636399700034 | 0.69190636399700034 [10] ... ... ... and 124 more ... actual$p1 | expected$p1 [135] 0.59635294169698150 | 0.59635294169698150 [135] [136] 0.69190636399700034 | 0.69190636399700034 [136] [137] 0.69190636399700034 | 0.69190636399700034 [137] [138] 0.54101438382656064 - 0.54101438382656075 [138] [139] 0.56111092458146838 - 0.56111092458146850 [139] [140] 0.69190636399700034 | 0.69190636399700034 [140] [141] 0.56111092458146838 - 0.56111092458146850 [141] [142] 0.54101438382656064 - 0.54101438382656075 [142] [143] 0.69190636399700034 | 0.69190636399700034 [143] [144] 0.54101438382656064 - 0.54101438382656075 [144] ... ... ... and 447 more ... actual$p1 | expected$p1 [593] 0.59635294169698150 | 0.59635294169698150 [593] [594] 0.59635294169698150 | 0.59635294169698150 [594] [595] 0.59635294169698150 | 0.59635294169698150 [595] [596] 0.56111092458146838 - 0.56111092458146850 [596] [597] 0.56111092458146838 - 0.56111092458146850 [597] [598] 0.59635294169698150 | 0.59635294169698150 [598] [599] 0.59635294169698150 | 0.59635294169698150 [599] [600] 0.54101438382656064 - 0.54101438382656075 [600] [601] 0.54101438382656064 - 0.54101438382656075 [601] [602] 0.59635294169698150 | 0.59635294169698150 [602] ... ... ... and 25 more ... actual$p1 | expected$p1 [628] 0.59635294169698150 | 0.59635294169698150 [628] [629] 0.69190636399700034 | 0.69190636399700034 [629] [630] 0.59635294169698150 | 0.59635294169698150 [630] [631] 0.54101438382656064 - 0.54101438382656075 [631] [632] 0.54101438382656064 - 0.54101438382656075 [632] [633] 0.59635294169698150 | 0.59635294169698150 [633] [634] 0.54101438382656064 - 0.54101438382656075 [634] [635] 0.56111092458146838 - 0.56111092458146850 [635] [636] 0.56111092458146838 - 0.56111092458146850 [636] [637] 0.59635294169698150 | 0.59635294169698150 [637] ... ... ... and 152 more ... actual$p1 | expected$p1 [791] 0.59635294169698150 | 0.59635294169698150 [791] [792] 0.69190636399700034 | 0.69190636399700034 [792] [793] 0.69190636399700034 | 0.69190636399700034 [793] [794] 0.56111092458146838 - 0.56111092458146850 [794] [795] 0.56111092458146838 - 0.56111092458146850 [795] [796] 0.56111092458146838 - 0.56111092458146850 [796] [797] 0.69190636399700034 | 0.69190636399700034 [797] [798] 0.69190636399700034 | 0.69190636399700034 [798] [799] 0.69190636399700034 | 0.69190636399700034 [799] [800] 0.59635294169698150 | 0.59635294169698150 [800] ... ... ... and 200 more ... ── Failure ('test-mr-admission-rounded.R:77:3'): NULL digits falls back to the subgroup.consistency() default ── Expected `a$res` to be identical to `b$res`. Differences: `actual$mean_r`: 0.0000000000000000086 `expected$mean_r`: 0.0000000000000000119 ── Failure ('test-mr-admission-rounded.R:106:3'): no consistency floor: digits does not enter admission ── Expected `run(2L)` to be identical to `run(6L)`. Differences: `actual$debiased$var_ij`: 0.379465414641449728 `expected$debiased$var_ij`: 0.379465414641449783 `actual$debiased$se_ij_winner`: 0.301920618531671292 `expected$debiased$se_ij_winner`: 0.301920618531671237 `actual$debiased$se_ij_winner_floor`: 0.301920618531671292 `expected$debiased$se_ij_winner_floor`: 0.301920618531671237 `actual$debiased$upper_w`: 2.38189747184216083 `expected$debiased$upper_w`: 2.38189747184216039 `actual$debiased$upper_wf`: 2.38189747184216083 `expected$debiased$upper_wf`: 2.38189747184216039 `actual$selection_bias`: 0.282515067290357857 `expected$selection_bias`: 0.282515067290357913 `actual$mean_r`: -0.000000000000000001 `expected$mean_r`: 0.000000000000000027 ── Failure ('test-mr-admission-rounded.R:107:3'): no consistency floor: digits does not enter admission ── Expected `run(2L)` to be identical to `run(NULL)`. Differences: `actual$debiased$lower`: 0.39407702126688826 `expected$debiased$lower`: 0.39407702126688848 `actual$debiased$upper`: 4.4083332957661820 `expected$debiased$upper`: 4.4083332957661803 `actual$debiased$lower_1s`: 0.478500264612816861 `expected$debiased$lower_1s`: 0.478500264612816917 `actual$debiased$se`: 0.61600764170702460 `expected$debiased$se`: 0.61600764170702438 `actual$debiased$se_ij`: 0.61600764170702460 `expected$debiased$se_ij`: 0.61600764170702438 `actual$debiased$var_ij`: 0.37946541464144995 `expected$debiased$var_ij`: 0.37946541464144973 `actual$debiased$se_ij_two_term`: 0.61600764170702460 `expected$debiased$se_ij_two_term`: 0.61600764170702438 `actual$debiased$lower_w`: 0.72934409414508183 `expected$debiased$lower_w`: 0.72934409414508194 `actual$debiased$lower_1s_w`: 0.80214063122264945 `expected$debiased$lower_1s_w`: 0.80214063122264956 `actual$debiased$lower_wf`: 0.72934409414508183 `expected$debiased$lower_wf`: 0.72934409414508194 `actual$debiased$lower_1s_wf`: 0.80214063122264945 `expected$debiased$lower_1s_wf`: 0.80214063122264956 `actual$selection_bias`: 0.282515067290357913 `expected$selection_bias`: 0.282515067290357857 `actual$mean_r`: 0.000000000000000031 `expected$mean_r`: 0.000000000000000010 [ FAIL 10 | WARN 18 | SKIP 81 | PASS 2025 ] Error: ! Test failures. Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [99s/129s] OK * checking PDF version of manual ... [20s/22s] OK * checking HTML version of manual ... [16s/16s] OK * checking for non-standard things in the check directory ... OK * checking for detritus in the temp directory ... OK * DONE Status: 1 ERROR See ‘/data/localhost/ripley/R/packages/tests-MKL/forestsearch.Rcheck/00check.log’ for details. Command exited with non-zero status 1 Time 7:40.00, 392.93 + 16.86