Running ‘testthat.R’ [115s/125s]
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/tests.html
  > # * https://testthat.r-lib.org/reference/test_package.html#special-files
  > 
  > library(testthat)
  > library(bundle)
  > 
  > test_check("bundle")
  Loading required package: ggplot2
  Loading required package: lattice
  
  Attaching package: 'parsnip'
  
  The following object is masked from 'package:dbarts':
  
      bart
  
  Saving _problems/test_bundle_parsnip-47.R
  Loading required package: dplyr
  
  Attaching package: 'dplyr'
  
  The following objects are masked from 'package:stats':
  
      filter, lag
  
  The following objects are masked from 'package:base':
  
      intersect, setdiff, setequal, union
  
  
  Attaching package: 'recipes'
  
  The following object is masked from 'package:stats':
  
      step
  
  Saving _problems/test_bundle_workflows-69.R
  Saving _problems/test_bundle_xgboost-33.R
  Saving _problems/test_utils-43.R
  [ FAIL 4 | WARN 0 | SKIP 11 | PASS 24 ]
  
  ══ Skipped tests (11) ══════════════════════════════════════════════════════════
  • !interactive() is TRUE (4): 'test_bundle_h2o.R:137:3',
    'test_bundle_h2o.R:284:3', 'test_bundle_h2o.R:428:3',
    'test_bundle_h2o.R:564:3'
  • On CRAN (7): 'test_bundle_bart.R:100:1', 'test_bundle_bart.R:106:1',
    'test_bundle_embed.R:2:3', 'test_bundle_h2o.R:2:3',
    'test_bundle_keras.R:2:3', 'test_bundle_torch.R:6:3',
    'test_bundle_workflows.R:126:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test_bundle_parsnip.R:34:3'): bundling + unbundling parsnip model_fits (xgboost) ──
  <callr_status_error/callr_error/rlib_error_3_0/rlib_error/error/condition>
  Error: ! in callr subprocess.
  Caused by error in `xgboost::xgb.load.raw(object, as_booster = TRUE)`:
  ! unused argument (as_booster = TRUE)
  Backtrace:
      ▆
   1. └─callr::r(...) at test_bundle_parsnip.R:34:3
   2.   └─callr:::get_result(output = out, options)
   3.     └─throw(callr_remote_error(remerr, output), parent = fix_msg(remerr[[3]]))
  ── Error ('test_bundle_workflows.R:53:3'): bundling + unbundling tidymodels workflows (xgboost + step_log) ──
  <callr_status_error/callr_error/rlib_error_3_0/rlib_error/error/condition>
  Error: ! in callr subprocess.
  Caused by error in `xgboost::xgb.load.raw(object, as_booster = TRUE)`:
  ! unused argument (as_booster = TRUE)
  Backtrace:
      ▆
   1. └─callr::r(...) at test_bundle_workflows.R:53:3
   2.   └─callr:::get_result(output = out, options)
   3.     └─throw(callr_remote_error(remerr, output), parent = fix_msg(remerr[[3]]))
  ── Error ('test_bundle_xgboost.R:23:3'): bundling + unbundling xgboost fits ────
  <callr_status_error/callr_error/rlib_error_3_0/rlib_error/error/condition>
  Error: ! in callr subprocess.
  Caused by error in `process.y.margin.and.objective(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. └─callr::r(...) at test_bundle_xgboost.R:23:3
   2.   └─callr:::get_result(output = out, options)
   3.     └─throw(callr_remote_error(remerr, output), parent = fix_msg(remerr[[3]]))
  ── Error ('test_utils.R:43:3'): swap_element works ─────────────────────────────
  Error in `xgboost::xgb.load.raw(object, as_booster = TRUE)`: unused argument (as_booster = TRUE)
  Backtrace:
      ▆
   1. └─bundle::swap_element(res, "fit") at test_utils.R:43:3
   2.   ├─bundle::unbundle(component)
   3.   └─bundle:::unbundle.bundle(component)
   4.     └─x$situate(get_object(x))
  
  [ FAIL 4 | WARN 0 | SKIP 11 | PASS 24 ]
  Error:
  ! Test failures.
  Execution halted