CRAN Package Check Results for Maintainer ‘Thomas Wiemann <thomas.wiemann at chicagobooth.edu>’

Last updated on 2025-12-14 04:50:32 CET.

Package ERROR OK
ddml 2 11

Package ddml

Current CRAN status: ERROR: 2, OK: 11

Version: 0.3.0
Check: tests
Result: ERROR Running ‘testthat.R’ [42s/62s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(ddml) > > test_check("ddml") Saving _problems/test-ml_wrappers-35.R sample fold 1/3 sample fold 2/3 sample fold 3/3[ FAIL 1 | WARN 6 | SKIP 0 | PASS 134 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-ml_wrappers.R:35:3'): mdl_xgboost is working ─────────────────── Error in `process.y.margin.and.objective(as.vector(y), base_margin, objective, params)`: Got numeric 'y' - supported objectives for this data are: reg:squarederror, reg:squaredlogerror, reg:logistic, reg:pseudohubererror, reg:absoluteerror, reg:quantileerror, count:poisson, reg:gamma, reg:tweedie. Was passed: binary:logistic Backtrace: ▆ 1. └─ddml::mdl_xgboost(y, X, objective = "binary:logistic") at test-ml_wrappers.R:35:3 2. └─xgboost::xgboost(...) 3. └─xgboost:::process.y.margin.and.objective(...) 4. └─xgboost:::process.y.margin.and.objective(...) [ FAIL 1 | WARN 6 | SKIP 0 | PASS 134 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-debian-clang

Version: 0.3.0
Check: tests
Result: ERROR Running ‘testthat.R’ [42s/69s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(ddml) > > test_check("ddml") Saving _problems/test-ml_wrappers-35.R sample fold 1/3 sample fold 2/3 sample fold 3/3[ FAIL 1 | WARN 6 | SKIP 0 | PASS 134 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-ml_wrappers.R:35:3'): mdl_xgboost is working ─────────────────── Error in `process.y.margin.and.objective(as.vector(y), base_margin, objective, params)`: Got numeric 'y' - supported objectives for this data are: reg:squarederror, reg:squaredlogerror, reg:logistic, reg:pseudohubererror, reg:absoluteerror, reg:quantileerror, count:poisson, reg:gamma, reg:tweedie. Was passed: binary:logistic Backtrace: ▆ 1. └─ddml::mdl_xgboost(y, X, objective = "binary:logistic") at test-ml_wrappers.R:35:3 2. └─xgboost::xgboost(...) 3. └─xgboost:::process.y.margin.and.objective(...) 4. └─xgboost:::process.y.margin.and.objective(...) [ FAIL 1 | WARN 6 | SKIP 0 | PASS 134 ] Error: ! Test failures. Execution halted Flavor: r-patched-linux-x86_64