Last updated on 2026-07-29 09:55:58 CEST.
| Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
|---|---|---|---|---|---|---|
| r-devel-linux-x86_64-debian-clang | 0.1.3 | 2.57 | 179.22 | 181.79 | OK | |
| r-devel-linux-x86_64-debian-gcc | 0.1.3 | 2.21 | 129.04 | 131.25 | OK | |
| r-devel-linux-x86_64-fedora-clang | 0.1.3 | 284.71 | OK | |||
| r-devel-linux-x86_64-fedora-gcc | 0.1.3 | 130.07 | OK | |||
| r-devel-windows-x86_64 | 0.1.3 | 4.00 | 208.00 | 212.00 | ERROR | |
| r-patched-linux-x86_64 | 0.1.3 | 2.94 | 171.82 | 174.76 | OK | |
| r-release-linux-x86_64 | 0.1.3 | 2.45 | 169.79 | 172.24 | OK | |
| r-release-macos-arm64 | 0.1.3 | 1.00 | 52.00 | 53.00 | OK | |
| r-release-macos-x86_64 | 0.1.3 | 2.00 | 194.00 | 196.00 | OK | |
| r-release-windows-x86_64 | 0.1.3 | 6.00 | 239.00 | 245.00 | OK | |
| r-oldrel-macos-arm64 | 0.1.3 | 1.00 | 65.00 | 66.00 | OK | |
| r-oldrel-macos-x86_64 | 0.1.3 | 2.00 | 266.00 | 268.00 | OK | |
| r-oldrel-windows-x86_64 | 0.1.3 | 5.00 | 280.00 | 285.00 | OK |
Version: 0.1.3
Check: examples
Result: ERROR
Running examples in 'bundle-Ex.R' failed
The error most likely occurred in:
> ### Name: bundle.bart
> ### Title: Bundle a 'bart' object
> ### Aliases: bundle.bart
>
> ### ** Examples
>
> ## Don't show:
> if (rlang::is_installed(c("dbarts"))) withAutoprint({ # examplesIf
+ ## End(Don't show)
+ # fit model and bundle ------------------------------------------------
+ library(dbarts)
+
+ mtcars$vs <- as.factor(mtcars$vs)
+
+ set.seed(1)
+ fit <- dbarts::bart(mtcars[c("disp", "hp")], mtcars$vs, keeptrees = TRUE)
+
+ fit_bundle <- bundle(fit)
+
+ # then, after saveRDS + readRDS or passing to a new session ----------
+ fit_unbundled <- unbundle(fit_bundle)
+
+ fit_unbundled_preds <- predict(fit_unbundled, mtcars)
+ ## Don't show:
+ }) # examplesIf
> library(dbarts)
> mtcars$vs <- as.factor(mtcars$vs)
> set.seed(1)
> fit <- dbarts::bart(mtcars[c("disp", "hp")], mtcars$vs, keeptrees = TRUE)
Error in parse(text = deparse(RNGkind)[-1L]) :
<text>:1:22: unexpected ')'
1: binom.kind = NULL)
^
Calls: withAutoprint ... validObject -> anyStrings -> isTRUE -> validityMethod -> parse
Execution halted
Flavor: r-devel-windows-x86_64
Version: 0.1.3
Check: tests
Result: ERROR
Running 'testthat.R' [97s]
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/testing-design.html#sec-tests-files-overview
> # * https://testthat.r-lib.org/articles/special-files.html
>
> library(testthat)
> library(bundle)
>
> test_check("bundle")
Saving _problems/test_bundle_bart-31.R
Saving _problems/test_bundle_bart-118.R
Loading required package: ggplot2
Loading required package: lattice
Attaching package: 'parsnip'
The following object is masked from 'package:dbarts':
bart
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
[ FAIL 2 | WARN 0 | SKIP 10 | PASS 43 ]
══ Skipped tests (10) ══════════════════════════════════════════════════════════
• !interactive() is TRUE (4): 'test_bundle_h2o.R:135:3',
'test_bundle_h2o.R:285:3', 'test_bundle_h2o.R:434:3',
'test_bundle_h2o.R:570:3'
• On CRAN (6): 'test_bundle_bart.R:100: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_bart.R:21:3'): bundling + unbundling bart fits ──────────
<callr_status_error/callr_error/rlib_error_3_0/rlib_error/error/condition>
Error: ! in callr subprocess.
Caused by error in `parse(text = deparse(RNGkind)[-1L])`:
! <text>:1:22: unexpected ')'
1: binom.kind = NULL)
^
Backtrace:
▆
1. └─callr::r(...) at test_bundle_bart.R:21:3
2. └─callr:::get_result(output = out, options)
3. └─throw(callr_remote_error(remerr, output), parent = fix_msg(remerr[[3]]))
── Error ('test_bundle_bart.R:112:3'): bundle.bart errors informatively when `keeptrees = FALSE` (#64) ──
Error in `parse(text = deparse(RNGkind)[-1L])`: <text>:1:22: unexpected ')'
1: binom.kind = NULL)
^
Backtrace:
▆
1. └─dbarts::bart(...) at test_bundle_bart.R:112:3
2. └─dbarts::dbartsControl(...)
3. └─methods::new(...)
4. ├─methods::initialize(value, ...)
5. └─dbarts (local) initialize(value, ...)
6. ├─methods::callNextMethod()
7. └─methods (local) .nextMethod(.Object = .Object, ... = ...)
8. └─methods::validObject(.Object)
9. ├─methods (local) anyStrings(validityMethod(object))
10. │ └─base::isTRUE(x)
11. └─dbarts (local) validityMethod(object)
12. └─base::parse(text = deparse(RNGkind)[-1L])
[ FAIL 2 | WARN 0 | SKIP 10 | PASS 43 ]
Error:
! Test failures.
Execution halted
Flavor: r-devel-windows-x86_64