* using log directory ‘/data/localhost/ripley/R/packages/tests-MKL/scorecraft.Rcheck’ * using R Under development (unstable) (2026-10-30 r90795) * 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 08:53:18 UTC * using option ‘--no-stop-on-test-error’ * checking for file ‘scorecraft/DESCRIPTION’ ... OK * this is package ‘scorecraft’ version ‘0.3.2’ * 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 ‘scorecraft’ can be installed ... [42s/35s] OK * used C++ compiler: ‘g++ (GCC) 16.2.1 20260819 (Red Hat 16.2.1-2)’ * 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 whether startup messages can be suppressed ... 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 ... [44s/46s] 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 contents of ‘data’ directory ... OK * checking data for non-ASCII characters ... OK * checking LazyData ... OK * checking data for ASCII and uncompressed saves ... OK * checking line endings in C/C++/Fortran sources/headers ... OK * checking line endings in Makefiles ... OK * checking compilation flags in Makevars ... OK * checking for GNU extensions in Makefiles ... OK * checking for portable use of $(BLAS_LIBS) and $(LAPACK_LIBS) ... OK * checking use of PKG_*FLAGS in Makefiles ... OK * checking use of SHLIB_OPENMP_*FLAGS in Makefiles ... OK * checking pragmas in C/C++ headers and code ... OK * checking compilation flags used ... OK * checking compiled code ... OK * checking installed files from ‘inst/doc’ ... OK * checking files in ‘vignettes’ ... OK * checking examples ... [83s/84s] OK * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... Running ‘testthat.R’ [220s/242s] [220s/242s] 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(scorecraft) > > test_check("scorecraft") OOT: 4 period(s) in train, 2 in hold-out (hold-out starts at 2026-05-01, 33.3% of rows) OOT: 4 period(s) in train, 2 in hold-out (hold-out starts at 2026-05-01, 33.3% of rows) ===== STAGE 2: optimal binning and selection (OptimalBinningWoE) ===== obwoe (36 features, 1 thread(s)) - ok (0.05s) obwoe_select - ok (0.25s) binned: 36 | passed screening: 23 screening failed for IV_BELOW_MIN 13 obwoe_apply (train) - ok (0.01s) obwoe_apply (hold-out) - ok (0.01s) hold-out revalidation (frozen IV + PSI) - ok (0.05s) hold-out failed 8 of 23 that passed screening IV_DROPS_ON_HOLDOUT;IV_LOW_ON_HOLDOUT 6 IV_DROPS_ON_HOLDOUT 1 IV_LOW_ON_HOLDOUT 1 redundancy removed 1: vl_score_02 pool eligible for the models: 14 duckdb is storing downloaded extensions and secrets under ~/.duckdb: i /data/localhost/ripley/.duckdb This persists across sessions and is shared with the DuckDB CLI and other clients. i Run duckdb(shared_home = FALSE) to use a temporary directory instead. i See ?duckdb_storage for details and alternatives. duckdb is storing downloaded extensions and secrets under ~/.duckdb: i /data/localhost/ripley/.duckdb This persists across sessions and is shared with the DuckDB CLI and other clients. i Run duckdb(shared_home = FALSE) to use a temporary directory instead. i See ?duckdb_storage for details and alternatives. Saving _problems/test-count-engine-286.R Saving _problems/test-count-engine-286.R Saving _problems/test-count-engine-291.R Saving _problems/test-count-engine-286.R Saving _problems/test-count-engine-291.R Saving _problems/test-count-engine-286.R Saving _problems/test-count-engine-291.R Saving _problems/test-count-engine-306.R Saving _problems/test-count-engine-306.R Saving _problems/test-count-engine-306.R SQL: select * from dtm SQL: select * from dtm where ((abs(random()) % 1000000) / 1000000.0) <= 0.5 SQL: select * from dtm where ((abs(random()) % 1000000) / 1000000.0) <= 0.23809523809523808 duckdb is storing downloaded extensions and secrets under ~/.duckdb: i /data/localhost/ripley/.duckdb This persists across sessions and is shared with the DuckDB CLI and other clients. i Run duckdb(shared_home = FALSE) to use a temporary directory instead. i See ?duckdb_storage for details and alternatives. duckdb is storing downloaded extensions and secrets under ~/.duckdb: i /data/localhost/ripley/.duckdb This persists across sessions and is shared with the DuckDB CLI and other clients. i Run duckdb(shared_home = FALSE) to use a temporary directory instead. i See ?duckdb_storage for details and alternatives. OOT: 2 period(s) in train, 1 in hold-out (hold-out starts at 2026-03-01, 30.0% of rows) OOT: 4 period(s) in train, 2 in hold-out (hold-out starts at 2026-05-01, 33.3% of rows) fork workers capped at 1 of 8 (resident 0.7 GB, 343.6 GB available) fork workers capped at 1 of 2 (resident 0.7 GB, 343.7 GB available) duckdb is storing downloaded extensions and secrets under ~/.duckdb: i /data/localhost/ripley/.duckdb This persists across sessions and is shared with the DuckDB CLI and other clients. i Run duckdb(shared_home = FALSE) to use a temporary directory instead. i See ?duckdb_storage for details and alternatives. duckdb is storing downloaded extensions and secrets under ~/.duckdb: i /data/localhost/ripley/.duckdb This persists across sessions and is shared with the DuckDB CLI and other clients. i Run duckdb(shared_home = FALSE) to use a temporary directory instead. i See ?duckdb_storage for details and alternatives. duckdb is storing downloaded extensions and secrets under ~/.duckdb: i /data/localhost/ripley/.duckdb This persists across sessions and is shared with the DuckDB CLI and other clients. i Run duckdb(shared_home = FALSE) to use a temporary directory instead. i See ?duckdb_storage for details and alternatives. OOT: 4 period(s) in train, 2 in hold-out (hold-out starts at 2026-05-01, 33.3% of rows) event_level = 0: target INVERTED - class 0 becomes the event. text target: event = 'GOOD', non-event = 'BAD' (alphabetical default) text target: event = 'BAD', non-event = 'GOOD' (event_level) duckdb is storing downloaded extensions and secrets under ~/.duckdb: i /data/localhost/ripley/.duckdb This persists across sessions and is shared with the DuckDB CLI and other clients. i Run duckdb(shared_home = FALSE) to use a temporary directory instead. i See ?duckdb_storage for details and alternatives. duckdb is storing downloaded extensions and secrets under ~/.duckdb: i /data/localhost/ripley/.duckdb This persists across sessions and is shared with the DuckDB CLI and other clients. i Run duckdb(shared_home = FALSE) to use a temporary directory instead. i See ?duckdb_storage for details and alternatives. duckdb is storing downloaded extensions and secrets under ~/.duckdb: i /data/localhost/ripley/.duckdb This persists across sessions and is shared with the DuckDB CLI and other clients. i Run duckdb(shared_home = FALSE) to use a temporary directory instead. i See ?duckdb_storage for details and alternatives. duckdb is storing downloaded extensions and secrets under ~/.duckdb: i /data/localhost/ripley/.duckdb This persists across sessions and is shared with the DuckDB CLI and other clients. i Run duckdb(shared_home = FALSE) to use a temporary directory instead. i See ?duckdb_storage for details and alternatives. OOT: 4 period(s) in train, 2 in hold-out (hold-out starts at 2026-05-01, 33.3% of rows) [ FAIL 10 | WARN 0 | SKIP 3 | PASS 6642 ] ══ Skipped tests (3) ═══════════════════════════════════════════════════════════ • On CRAN (3): 'test-segments.R:344:3', 'test-study.R:243:3', 'test-uplift.R:184:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-count-engine.R:286:7'): gains and calibration equal the row-level band tables on the demo scorecards ── Expected `.calibration(s, sc$breaks, sc$alignment)` to be identical to `ref_calibration(s, sc$breaks, sc$alignment)`. Differences: `actual$summary$intercept`: 0.15478546551021674 `expected$summary$intercept`: 0.15478546551021730 `actual$summary$slope`: 1.09631900447761965 `expected$summary$slope`: 1.09631900447761987 ── Failure ('test-count-engine.R:286:7'): gains and calibration equal the row-level band tables on the demo scorecards ── Expected `.calibration(s, sc$breaks, sc$alignment)` to be identical to `ref_calibration(s, sc$breaks, sc$alignment)`. Differences: `actual$summary$intercept`: -0.19443221891890353 `expected$summary$intercept`: -0.19443221891890411 ── Failure ('test-count-engine.R:291:5'): gains and calibration equal the row-level band tables on the demo scorecards ── Expected `sc$calibration` to be identical to `ref_calibration(sc$samples$holdout, sc$breaks, sc$alignment)`. Differences: `actual$summary$intercept`: -0.19443221891890411 `expected$summary$intercept`: -0.19443221891890447 `actual$summary$slope`: 0.83085599390697529 `expected$summary$slope`: 0.83085599390697473 ── Failure ('test-count-engine.R:286:7'): gains and calibration equal the row-level band tables on the demo scorecards ── Expected `.calibration(s, sc$breaks, sc$alignment)` to be identical to `ref_calibration(s, sc$breaks, sc$alignment)`. Differences: `actual$summary$intercept`: 0.15478546551021707 `expected$summary$intercept`: 0.15478546551021657 `actual$summary$slope`: 1.09631900447761943 `expected$summary$slope`: 1.09631900447761921 ── Failure ('test-count-engine.R:291:5'): gains and calibration equal the row-level band tables on the demo scorecards ── Expected `sc$calibration` to be identical to `ref_calibration(sc$samples$holdout, sc$breaks, sc$alignment)`. Differences: `actual$summary$intercept`: -0.194432218918904748 `expected$summary$intercept`: -0.194432218918904665 `actual$summary$slope`: 0.83085599390697440 `expected$summary$slope`: 0.83085599390697451 ── Failure ('test-count-engine.R:286:7'): gains and calibration equal the row-level band tables on the demo scorecards ── Expected `.calibration(s, sc$breaks, sc$alignment)` to be identical to `ref_calibration(s, sc$breaks, sc$alignment)`. Differences: `actual$summary$intercept`: -0.00399010074475519 `expected$summary$intercept`: -0.00399010074475503 ── Failure ('test-count-engine.R:291:5'): gains and calibration equal the row-level band tables on the demo scorecards ── Expected `sc$calibration` to be identical to `ref_calibration(sc$samples$holdout, sc$breaks, sc$alignment)`. Differences: `actual$summary$intercept`: 0.017261911828663112 `expected$summary$intercept`: 0.017261911828663101 ── Failure ('test-count-engine.R:306:9'): gains and calibration equal the row-level band tables on ties, edges and missing scores ── Expected `.calibration(d, br, al)` to be identical to `ref_calibration(d, br, al)`. Differences: `actual$summary$intercept`: 0.1715526123055073 `expected$summary$intercept`: 0.1715526123055083 `actual$summary$slope`: 0.55895891182230995 `expected$summary$slope`: 0.55895891182231017 ── Failure ('test-count-engine.R:306:9'): gains and calibration equal the row-level band tables on ties, edges and missing scores ── Expected `.calibration(d, br, al)` to be identical to `ref_calibration(d, br, al)`. Differences: `actual$summary$intercept`: -0.39186529516823426 `expected$summary$intercept`: -0.39186529516823382 `actual$summary$slope`: -0.024774219876391800 `expected$summary$slope`: -0.024774219876391706 ── Failure ('test-count-engine.R:306:9'): gains and calibration equal the row-level band tables on ties, edges and missing scores ── Expected `.calibration(d, br, al)` to be identical to `ref_calibration(d, br, al)`. Differences: `actual$summary$intercept`: -0.39186529516823426 `expected$summary$intercept`: -0.39186529516823382 `actual$summary$slope`: -0.024774219876391800 `expected$summary$slope`: -0.024774219876391706 [ FAIL 10 | WARN 0 | SKIP 3 | PASS 6642 ] Error: ! Test failures. Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [52s/54s] OK * checking PDF version of manual ... [10s/10s] OK * checking HTML version of manual ... 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/scorecraft.Rcheck/00check.log’ for details. Command exited with non-zero status 1 Time 8:40.61, 470.82 + 24.21