Running 'testthat.R' [77s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(ml)
  > 
  > test_check("ml")
  -- Calibrated ml_model [classification | logistic | Platt scaling]
  Saved: D:\temp\2026_04_27_10_50_30_12734\RtmpcZkeqR\filef74413f71038.html
  Saved: D:\temp\2026_04_27_10_50_30_12734\RtmpcZkeqR\filef7441b613e74.html
  Saved: D:\temp\2026_04_27_10_50_30_12734\RtmpcZkeqR\filef744194a57c4.html
  Saving _problems/test-screen-13.R
  [ FAIL 1 | WARN 1546 | SKIP 49 | PASS 1547 ]
  
  ══ Skipped tests (49) ══════════════════════════════════════════════════════════
  • Rust backend not available (44): 'test-rust.R:15:3', 'test-rust.R:26:3',
    'test-rust.R:38:3', 'test-rust.R:48:3', 'test-rust.R:63:3',
    'test-rust.R:72:3', 'test-rust.R:81:3', 'test-rust.R:92:3',
    'test-rust.R:102:3', 'test-rust.R:112:3', 'test-rust.R:124:3',
    'test-rust.R:134:3', 'test-rust.R:155:3', 'test-rust.R:164:3',
    'test-rust.R:173:3', 'test-rust.R:184:3', 'test-rust.R:196:3',
    'test-rust.R:214:3', 'test-rust.R:224:3', 'test-rust.R:242:3',
    'test-rust.R:253:3', 'test-rust.R:264:3', 'test-rust.R:277:3',
    'test-rust.R:292:3', 'test-rust.R:310:3', 'test-rust.R:322:3',
    'test-rust.R:333:3', 'test-rust.R:347:3', 'test-rust.R:358:3',
    'test-rust.R:368:3', 'test-rust.R:383:3', 'test-rust.R:395:3',
    'test-rust.R:409:3', 'test-rust.R:425:3', 'test-rust.R:438:3',
    'test-rust.R:447:3', 'test-rust.R:463:3', 'test-rust.R:475:3',
    'test-rust.R:487:3', 'test-rust.R:498:3', 'test-rust.R:514:3',
    'test-rust.R:526:3', 'test-rust.R:538:3', 'test-rust.R:550:3'
  • empty test (2): 'test-parity-w3.R:163:1', 'test-screen.R:16:1'
  • gradient_boosting not available: algorithm='gradient_boosting'/'histgradient'
    requires the Rust backend. (2): 'test-workflow.R:195:5',
    'test-workflow.R:391:7'
  • logistic is clf-only — use linear for regression; tested separately (1):
    'test-predict.R:16:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-screen.R:13:3'): screen has time column (numeric, > 0) ───────
  Expected `all(lb$time > 0)` to be TRUE.
  Differences:
  `actual`:   FALSE
  `expected`: TRUE 
  
  
  [ FAIL 1 | WARN 1546 | SKIP 49 | PASS 1547 ]
  Error:
  ! Test failures.
  Execution halted