Last updated on 2025-12-04 19:50:13 CET.
| Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
|---|---|---|---|---|---|---|
| r-devel-linux-x86_64-debian-clang | 0.1.2 | 3.13 | 198.91 | 202.04 | OK | |
| r-devel-linux-x86_64-debian-gcc | 0.1.2 | 2.43 | 143.05 | 145.48 | OK | |
| r-devel-linux-x86_64-fedora-clang | 0.1.2 | 292.54 | ERROR | |||
| r-devel-linux-x86_64-fedora-gcc | 0.1.2 | 21.00 | 293.43 | 314.43 | ERROR | |
| r-devel-windows-x86_64 | 0.1.2 | 5.00 | 242.00 | 247.00 | OK | |
| r-patched-linux-x86_64 | 0.1.2 | 3.59 | 187.00 | 190.59 | OK | |
| r-release-linux-x86_64 | 0.1.2 | 2.78 | 188.12 | 190.90 | OK | |
| r-release-macos-arm64 | 0.1.2 | OK | ||||
| r-release-macos-x86_64 | 0.1.2 | 3.00 | 193.00 | 196.00 | OK | |
| r-release-windows-x86_64 | 0.1.2 | 5.00 | 238.00 | 243.00 | OK | |
| r-oldrel-macos-arm64 | 0.1.2 | OK | ||||
| r-oldrel-macos-x86_64 | 0.1.2 | 2.00 | 297.00 | 299.00 | OK | |
| r-oldrel-windows-x86_64 | 0.1.2 | 6.00 | 272.00 | 278.00 | OK |
Version: 0.1.2
Check: examples
Result: ERROR
Running examples in ‘bundle-Ex.R’ failed
The error most likely occurred in:
> ### Name: bundle.model_fit
> ### Title: Bundle a parsnip 'model_fit' object
> ### Aliases: bundle.model_fit bundle_model_fit
>
> ### ** Examples
>
> ## Don't show:
> if (rlang::is_installed("parsnip") && rlang::is_installed("xgboost")) (if (getRversion() >= "3.4") withAutoprint else force)({ # examplesIf
+ ## End(Don't show)
+ # fit model and bundle ------------------------------------------------
+ library(parsnip)
+ library(xgboost)
+
+ set.seed(1)
+
+ mod <-
+ boost_tree(trees = 5, mtry = 3) %>%
+ set_mode("regression") %>%
+ set_engine("xgboost") %>%
+ fit(mpg ~ ., data = mtcars)
+
+ mod_bundle <- bundle(mod)
+
+ # then, after saveRDS + readRDS or passing to a new session ----------
+ mod_unbundled <- unbundle(mod_bundle)
+
+ mod_unbundled_preds <- predict(mod_unbundled, new_data = mtcars)
+ ## Don't show:
+ }) # examplesIf
> library(parsnip)
> library(xgboost)
> set.seed(1)
> mod <- boost_tree(trees = 5, mtry = 3) %>% set_mode("regression") %>%
+ set_engine("xgboost") %>% fit(mpg ~ ., data = mtcars)
> mod_bundle <- bundle(mod)
> mod_unbundled <- unbundle(mod_bundle)
Error in xgboost::xgb.load.raw(object, as_booster = TRUE) :
unused argument (as_booster = TRUE)
Calls: <Anonymous> ... <Anonymous> -> unbundle -> unbundle.bundle -> <Anonymous>
Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc
Version: 0.1.2
Check: tests
Result: ERROR
Running ‘testthat.R’ [3m/10m]
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
Flavor: r-devel-linux-x86_64-fedora-clang
Version: 0.1.2
Check: tests
Result: ERROR
Running ‘testthat.R’ [3m/12m]
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
Flavor: r-devel-linux-x86_64-fedora-gcc
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.