Package: ddml 0.3.0
Check: tests, Result: ERROR
    Running ‘testthat.R’
  Running the tests in ‘tests/testthat.R’ failed.
  Last 13 lines of output:
    
    ══ 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
