Last updated on 2026-08-03 21:51:52 CEST.
| Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
|---|---|---|---|---|---|---|
| r-devel-linux-x86_64-debian-clang | 0.1.0 | 9.45 | 159.23 | 168.68 | OK | |
| r-devel-linux-x86_64-debian-gcc | 0.1.0 | 7.82 | 108.72 | 116.54 | NOTE | |
| r-devel-linux-x86_64-fedora-clang | 0.1.0 | 19.00 | 258.33 | 277.33 | OK | |
| r-devel-linux-x86_64-fedora-gcc | 0.1.0 | 8.00 | 104.01 | 112.01 | OK | |
| r-devel-windows-x86_64 | 0.1.0 | 14.00 | 149.00 | 163.00 | ERROR | |
| r-patched-linux-x86_64 | 0.1.0 | 10.50 | 149.84 | 160.34 | OK | |
| r-release-linux-x86_64 | 0.1.0 | 8.55 | 150.85 | 159.40 | OK | |
| r-release-macos-arm64 | 0.1.0 | 3.00 | 40.00 | 43.00 | OK | |
| r-release-macos-x86_64 | 0.1.0 | 7.00 | 173.00 | 180.00 | OK | |
| r-release-windows-x86_64 | 0.1.0 | 15.00 | 164.00 | 179.00 | OK | |
| r-oldrel-macos-arm64 | 0.1.0 | 3.00 | 43.00 | 46.00 | OK | |
| r-oldrel-macos-x86_64 | 0.1.0 | 7.00 | 172.00 | 179.00 | OK | |
| r-oldrel-windows-x86_64 | 0.1.0 | 18.00 | 231.00 | 249.00 | OK |
Version: 0.1.0
Check: for new files in some other directories
Result: NOTE
Found the following files/directories:
‘~/tmp/scratch/Rtmp1S3Hsh’ ‘~/tmp/scratch/Rtmp1jP9ho’
‘~/tmp/scratch/Rtmp2HlfOD’ ‘~/tmp/scratch/Rtmp2M6ggN’
‘~/tmp/scratch/Rtmp2egt2Y’ ‘~/tmp/scratch/Rtmp38UdZv’
‘~/tmp/scratch/Rtmp3PSxFJ’ ‘~/tmp/scratch/Rtmp3RdHcf’
‘~/tmp/scratch/Rtmp44jS4A’ ‘~/tmp/scratch/Rtmp4CQVqe’
‘~/tmp/scratch/Rtmp4PPjbp’ ‘~/tmp/scratch/Rtmp4QD61n’
‘~/tmp/scratch/Rtmp4erNjo’ ‘~/tmp/scratch/Rtmp55BfFW’
‘~/tmp/scratch/Rtmp5B0N2w’ ‘~/tmp/scratch/Rtmp5aeJbh’
‘~/tmp/scratch/Rtmp5gNCcd’ ‘~/tmp/scratch/Rtmp5js9ti’
‘~/tmp/scratch/Rtmp5xraAu’ ‘~/tmp/scratch/Rtmp6lr2SS’
‘~/tmp/scratch/Rtmp7ShAXX’ ‘~/tmp/scratch/Rtmp9Djhxg’
‘~/tmp/scratch/Rtmp9wZ20E’ ‘~/tmp/scratch/RtmpAWChbo’
‘~/tmp/scratch/RtmpAwUDQW’ ‘~/tmp/scratch/RtmpAwYaR1’
‘~/tmp/scratch/RtmpB5fo8N’ ‘~/tmp/scratch/RtmpBEYvo1’
‘~/tmp/scratch/RtmpBcPMtm’ ‘~/tmp/scratch/RtmpCCLXtm’
‘~/tmp/scratch/RtmpCInFHG’ ‘~/tmp/scratch/RtmpCThDhy’
‘~/tmp/scratch/RtmpD6flqP’ ‘~/tmp/scratch/RtmpDW6ebl’
‘~/tmp/scratch/RtmpE7RFDh’ ‘~/tmp/scratch/RtmpFIzKPQ’
‘~/tmp/scratch/RtmpGFEJCj’ ‘~/tmp/scratch/RtmpGOs1Lp’
‘~/tmp/scratch/RtmpGsRGEO’ ‘~/tmp/scratch/RtmpHB1b3G’
‘~/tmp/scratch/RtmpHa8d0l’ ‘~/tmp/scratch/RtmpHcSpIK’
‘~/tmp/scratch/RtmpIGvXcg’ ‘~/tmp/scratch/RtmpIu1qb9’
‘~/tmp/scratch/RtmpJLfKYQ’ ‘~/tmp/scratch/RtmpJNV7lf’
‘~/tmp/scratch/RtmpJj8Btz’ ‘~/tmp/scratch/RtmpJwQSeJ’
‘~/tmp/scratch/RtmpKmh6F0’ ‘~/tmp/scratch/RtmpL9FIVJ’
‘~/tmp/scratch/RtmpLNH0vM’ ‘~/tmp/scratch/RtmpLWQIwx’
‘~/tmp/scratch/RtmpLfea01’ ‘~/tmp/scratch/RtmpLgZngx’
‘~/tmp/scratch/RtmpLnCn2r’ ‘~/tmp/scratch/RtmpN1V0Qv’
‘~/tmp/scratch/RtmpNmKdrS’ ‘~/tmp/scratch/RtmpNxZR6N’
‘~/tmp/scratch/RtmpOTHI1n’ ‘~/tmp/scratch/RtmpOa96qE’
‘~/tmp/scratch/RtmpOqLSDw’ ‘~/tmp/scratch/RtmpPP0Ngl’
‘~/tmp/scratch/RtmpQBVwyX’ ‘~/tmp/scratch/RtmpR2lXda’
‘~/tmp/scratch/RtmpRtjjB1’ ‘~/tmp/scratch/RtmpSA0KKM’
‘~/tmp/scratch/RtmpSfEJQ6’ ‘~/tmp/scratch/RtmpSwJP6d’
‘~/tmp/scratch/RtmpTAwpOw’ ‘~/tmp/scratch/RtmpTSaGfk’
‘~/tmp/scratch/RtmpTde9mi’ ‘~/tmp/scratch/RtmpUrgOVg’
‘~/tmp/scratch/RtmpV0z9HP’ ‘~/tmp/scratch/RtmpVnYIs2’
‘~/tmp/scratch/RtmpVyZMuE’ ‘~/tmp/scratch/RtmpWXtren’
‘~/tmp/scratch/RtmpXFHkag’ ‘~/tmp/scratch/RtmpXfAdXT’
‘~/tmp/scratch/RtmpYWrTn1’ ‘~/tmp/scratch/RtmpZE5COq’
‘~/tmp/scratch/RtmpZVQm2e’ ‘~/tmp/scratch/RtmpZc4Rbh’
‘~/tmp/scratch/RtmpZqqrFy’ ‘~/tmp/scratch/RtmpZtrXiP’
‘~/tmp/scratch/RtmpafXlIZ’ ‘~/tmp/scratch/Rtmpb7Jq2a’
‘~/tmp/scratch/RtmpbHj7hB’ ‘~/tmp/scratch/Rtmpbkg6Ca’
‘~/tmp/scratch/RtmpcVHJhg’ ‘~/tmp/scratch/RtmpcxZKi0’
‘~/tmp/scratch/Rtmpczz578’ ‘~/tmp/scratch/RtmpdAhWhY’
‘~/tmp/scratch/RtmpdFEKyw’ ‘~/tmp/scratch/RtmpdID8nh’
‘~/tmp/scratch/RtmpdQS1nn’ ‘~/tmp/scratch/RtmpeNR1q0’
‘~/tmp/scratch/RtmpelkLlG’ ‘~/tmp/scratch/RtmpeoBWUR’
‘~/tmp/scratch/RtmpfJT40l’ ‘~/tmp/scratch/Rtmpfqi72e’
‘~/tmp/scratch/Rtmphcrd9f’ ‘~/tmp/scratch/RtmphoxrAf’
‘~/tmp/scratch/Rtmpi1vltf’ ‘~/tmp/scratch/Rtmpi1xTre’
‘~/tmp/scratch/Rtmpi3CxgH’ ‘~/tmp/scratch/RtmpiWfUt0’
‘~/tmp/scratch/Rtmpj7nfim’ ‘~/tmp/scratch/RtmpjYvjWm’
‘~/tmp/scratch/RtmpkPFYgZ’ ‘~/tmp/scratch/RtmpksPJnO’
‘~/tmp/scratch/Rtmpl1q3hg’ ‘~/tmp/scratch/Rtmplmmatv’
‘~/tmp/scratch/RtmplsBFYn’ ‘~/tmp/scratch/Rtmplw43fn’
‘~/tmp/scratch/Rtmpm6iqMl’ ‘~/tmp/scratch/RtmpmL4wOl’
‘~/tmp/scratch/RtmpmnCLPi’ ‘~/tmp/scratch/RtmpmukWuA’
‘~/tmp/scratch/Rtmpn6dh5J’ ‘~/tmp/scratch/RtmpnWiJg5’
‘~/tmp/scratch/RtmpnYkVdZ’ ‘~/tmp/scratch/RtmpndVMNB’
‘~/tmp/scratch/RtmpnfPMyz’ ‘~/tmp/scratch/RtmpoWirG0’
‘~/tmp/scratch/Rtmpp53cY8’ ‘~/tmp/scratch/Rtmpporiik’
‘~/tmp/scratch/Rtmpq5ykJu’ ‘~/tmp/scratch/RtmpqjiVVB’
‘~/tmp/scratch/Rtmpqr6Man’ ‘~/tmp/scratch/Rtmpr5T2Pa’
‘~/tmp/scratch/Rtmps0XT22’ ‘~/tmp/scratch/RtmpssNOaF’
‘~/tmp/scratch/Rtmpt2cQAa’ ‘~/tmp/scratch/RtmptaSZL9’
‘~/tmp/scratch/RtmptgwEim’ ‘~/tmp/scratch/Rtmptl4KWH’
‘~/tmp/scratch/Rtmpu1TpG0’ ‘~/tmp/scratch/RtmpuYUw4T’
‘~/tmp/scratch/RtmpuowtUo’ ‘~/tmp/scratch/Rtmpuyx7Io’
‘~/tmp/scratch/Rtmpvh4Tak’ ‘~/tmp/scratch/RtmpvtZjnZ’
‘~/tmp/scratch/Rtmpvwwtgv’ ‘~/tmp/scratch/Rtmpwsp6qj’
‘~/tmp/scratch/RtmpyFeTQe’ ‘~/tmp/scratch/RtmpyIwZbw’
‘~/tmp/scratch/RtmpySF0Sd’ ‘~/tmp/scratch/RtmpygWuGx’
‘~/tmp/scratch/RtmpykejJO’ ‘~/tmp/scratch/RtmpyrEtKs’
‘~/tmp/scratch/RtmpzLNyKG’ ‘~/tmp/scratch/RtmpzeFvH9’
‘~/tmp/scratch/ccECuuX0.s’ ‘~/tmp/scratch/xvfb-run.0Xbqs0’
‘~/tmp/scratch/xvfb-run.0t7Obr’ ‘~/tmp/scratch/xvfb-run.2gQz3p’
‘~/tmp/scratch/xvfb-run.2q8cD4’ ‘~/tmp/scratch/xvfb-run.34jn4E’
‘~/tmp/scratch/xvfb-run.3Nn636’ ‘~/tmp/scratch/xvfb-run.4A8Fpu’
‘~/tmp/scratch/xvfb-run.4MnsAo’ ‘~/tmp/scratch/xvfb-run.4u1y1T’
‘~/tmp/scratch/xvfb-run.5FQnco’ ‘~/tmp/scratch/xvfb-run.7IoOdt’
‘~/tmp/scratch/xvfb-run.7WlBpH’ ‘~/tmp/scratch/xvfb-run.A6Sn7Q’
‘~/tmp/scratch/xvfb-run.BcbrZR’ ‘~/tmp/scratch/xvfb-run.CwAa9n’
‘~/tmp/scratch/xvfb-run.CweBOJ’ ‘~/tmp/scratch/xvfb-run.EEuDbr’
‘~/tmp/scratch/xvfb-run.EIromb’ ‘~/tmp/scratch/xvfb-run.EN3671’
‘~/tmp/scratch/xvfb-run.Ekn4RP’ ‘~/tmp/scratch/xvfb-run.FDGdmy’
‘~/tmp/scratch/xvfb-run.GQB7sT’ ‘~/tmp/scratch/xvfb-run.Gee4nN’
‘~/tmp/scratch/xvfb-run.Gk4bxL’ ‘~/tmp/scratch/xvfb-run.JDY3eN’
‘~/tmp/scratch/xvfb-run.K80i1C’ ‘~/tmp/scratch/xvfb-run.KnWCq3’
‘~/tmp/scratch/xvfb-run.KtGoon’ ‘~/tmp/scratch/xvfb-run.L4aiLl’
‘~/tmp/scratch/xvfb-run.Lnxtw7’ ‘~/tmp/scratch/xvfb-run.MT56Qe’
‘~/tmp/scratch/xvfb-run.MrDIVk’ ‘~/tmp/scratch/xvfb-run.N78h6H’
‘~/tmp/scratch/xvfb-run.PoIo9a’ ‘~/tmp/scratch/xvfb-run.RnMVsX’
‘~/tmp/scratch/xvfb-run.TkVXOz’ ‘~/tmp/scratch/xvfb-run.WBxx4M’
‘~/tmp/scratch/xvfb-run.XHfip0’ ‘~/tmp/scratch/xvfb-run.XNvc1Q’
‘~/tmp/scratch/xvfb-run.Zzui4m’ ‘~/tmp/scratch/xvfb-run.byVh6S’
‘~/tmp/scratch/xvfb-run.deFXR6’ ‘~/tmp/scratch/xvfb-run.dwDHYb’
‘~/tmp/scratch/xvfb-run.feZYkU’ ‘~/tmp/scratch/xvfb-run.fzgK9C’
‘~/tmp/scratch/xvfb-run.gScGab’ ‘~/tmp/scratch/xvfb-run.ioxN6n’
‘~/tmp/scratch/xvfb-run.jk5mcl’ ‘~/tmp/scratch/xvfb-run.l2oAyJ’
‘~/tmp/scratch/xvfb-run.lBGIrR’ ‘~/tmp/scratch/xvfb-run.mtXnG3’
‘~/tmp/scratch/xvfb-run.nT7X8t’ ‘~/tmp/scratch/xvfb-run.na3vax’
‘~/tmp/scratch/xvfb-run.ojgw4P’ ‘~/tmp/scratch/xvfb-run.pAHYZk’
‘~/tmp/scratch/xvfb-run.qGU28a’ ‘~/tmp/scratch/xvfb-run.vdIeAu’
‘~/tmp/scratch/xvfb-run.vx2zX2’ ‘~/tmp/scratch/xvfb-run.w0oNGq’
‘~/tmp/scratch/xvfb-run.wU714C’ ‘~/tmp/scratch/xvfb-run.yLNddz’
‘~/tmp/scratch/xvfb-run.yqoW1Q’ ‘~/tmp/scratch/xvfb-run.zvNg1e’
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 0.1.0
Check: examples
Result: ERROR
Running examples in 'lorax-Ex.R' failed
The error most likely occurred in:
> ### Name: as.party.bart
> ### Title: Convert BART model to party object
> ### Aliases: as.party.bart
>
> ### ** Examples
>
> if (rlang::is_installed(c("dbarts", "palmerpenguins"))) {
+ # Classification example
+ data(penguins, package = "palmerpenguins")
+ penguins <- na.omit(penguins)
+
+ # Prepare data with response column
+ train_data <- penguins[, c("bill_length_mm", "bill_depth_mm",
+ "flipper_length_mm", "body_mass_g", "species")]
+
+ set.seed(2847)
+ fit <- dbarts::bart(
+ x.train = train_data[, 1:4],
+ y.train = train_data$species,
+ keeptrees = TRUE,
+ verbose = FALSE,
+ ntree = 2
+ )
+
+ # Convert first tree - data parameter is required
+ # Response will be preserved in original format (e.g., factor for
+ # classification)
+ party_tree <- as.party(fit, tree = 1L, chain = 1L, data = train_data)
+ print(party_tree)
+ plot(party_tree)
+
+ # Regression example
+ data(mtcars)
+ set.seed(5193)
+ fit_reg <- dbarts::bart(
+ x.train = mtcars[, -1],
+ y.train = mtcars$mpg,
+ keeptrees = TRUE,
+ verbose = FALSE,
+ ntree = 2
+ )
+ party_tree_reg <- as.party(fit_reg, tree = 1L, chain = 1L, data = mtcars)
+ print(party_tree_reg)
+ }
Error in parse(text = deparse(RNGkind)[-1L]) :
<text>:1:22: unexpected ')'
1: binom.kind = NULL)
^
Calls: <Anonymous> ... validObject -> anyStrings -> isTRUE -> validityMethod -> parse
Execution halted
Flavor: r-devel-windows-x86_64
Version: 0.1.0
Check: tests
Result: ERROR
Running 'spelling.R' [0s]
Running 'testthat.R' [61s]
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(lorax)
>
> test_check("lorax")
c50 code called exit with value 1
Saving _problems/test-bart-20.R
Saving _problems/test-bart-43.R
Saving _problems/test-bart-64.R
Saving _problems/test-bart-92.R
Saving _problems/test-bart-131.R
Saving _problems/test-bart-166.R
Saving _problems/test-bart-188.R
Saving _problems/test-bart-215.R
Saving _problems/test-bart-250.R
Saving _problems/test-bart-279.R
Saving _problems/test-bart-315.R
Saving _problems/test-bart-343.R
Saving _problems/test-bart-369.R
Saving _problems/test-bart-397.R
Saving _problems/test-bart-430.R
Saving _problems/test-bart-460.R
Saving _problems/test-bart-488.R
Saving _problems/test-bart-516.R
Saving _problems/test-bart-556.R
Saving _problems/test-bart-583.R
Saving _problems/test-bart-605.R
Saving _problems/test-bart-635.R
Saving _problems/test-bart-666.R
Saving _problems/test-bart-687.R
Saving _problems/test-bart-708.R
Loading required package: lattice
[ FAIL 25 | WARN 0 | SKIP 51 | PASS 1404 ]
══ Skipped tests (51) ══════════════════════════════════════════════════════════
• On CRAN (49): 'test-C5.0.R:39:1', 'test-C5.0.R:62:1', 'test-C5.0.R:72:1',
'test-C5.0.R:133:1', 'test-C5.0.R:330:1', 'test-C5.0.R:563:1',
'test-C5.0.R:902:1', 'test-ObliqueForest.R:17:1',
'test-ObliqueForest.R:392:1', 'test-extract_rules.R:28:1',
'test-extract_rules.R:124:1', 'test-grf.R:42:1', 'test-grf.R:522:1',
'test-grf.R:787:1', 'test-helpers.R:141:1', 'test-helpers.R:158:1',
'test-helpers.R:177:1', 'test-helpers.R:196:1', 'test-helpers.R:306:1',
'test-helpers.R:323:1', 'test-helpers.R:347:1', 'test-helpers.R:381:1',
'test-helpers.R:514:1', 'test-helpers.R:526:1', 'test-helpers.R:542:1',
'test-helpers.R:554:1', 'test-helpers.R:642:1', 'test-helpers.R:768:1',
'test-helpers.R:797:1', 'test-helpers.R:809:1',
'test-helpers_oblique.R:118:1', 'test-helpers_oblique.R:146:1',
'test-helpers_oblique.R:178:1', 'test-helpers_oblique.R:210:1',
'test-helpers_oblique.R:232:1', 'test-helpers_party.R:1:1',
'test-helpers_party.R:57:1', 'test-helpers_rectangular.R:110:1',
'test-helpers_rectangular.R:142:1', 'test-helpers_rectangular.R:159:1',
'test-helpers_rectangular.R:171:1', 'test-lgb.Booster.R:76:1',
'test-lgb.Booster.R:210:1', 'test-lgb.Booster.R:627:1',
'test-randomForest.R:1:1', 'test-ranger.R:1:1', 'test-xgb.Booster.R:84:1',
'test-xgb.Booster.R:215:1', 'test-xgb.Booster.R:563:1'
• Skipping (1): 'test-cforest.R:2:1'
• TOOOO LONG (1): 'test-party.R:1:1'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-bart.R:7:3'): as.party.bart returns valid party object with numeric data ──
Error in `parse(text = deparse(RNGkind)[-1L])`: <text>:1:22: unexpected ')'
1: binom.kind = NULL)
^
Backtrace:
▆
1. ├─base::suppressWarnings(...) at test-bart.R:7:3
2. │ └─base::withCallingHandlers(...)
3. └─dbarts::bart(...)
4. └─dbarts::dbartsControl(...)
5. └─methods::new(...)
6. ├─methods::initialize(value, ...)
7. └─dbarts (local) initialize(value, ...)
8. ├─methods::callNextMethod()
9. └─methods (local) .nextMethod(.Object = .Object, ... = ...)
10. └─methods::validObject(.Object)
11. ├─methods (local) anyStrings(validityMethod(object))
12. │ └─base::isTRUE(x)
13. └─dbarts (local) validityMethod(object)
14. └─base::parse(text = deparse(RNGkind)[-1L])
── Error ('test-bart.R:35:3'): as.party.bart works with regression data ────────
Error in `parse(text = deparse(RNGkind)[-1L])`: <text>:1:22: unexpected ')'
1: binom.kind = NULL)
^
Backtrace:
▆
1. ├─base::suppressWarnings(...) at test-bart.R:35:3
2. │ └─base::withCallingHandlers(...)
3. └─dbarts::bart(...)
4. └─dbarts::dbartsControl(...)
5. └─methods::new(...)
6. ├─methods::initialize(value, ...)
7. └─dbarts (local) initialize(value, ...)
8. ├─methods::callNextMethod()
9. └─methods (local) .nextMethod(.Object = .Object, ... = ...)
10. └─methods::validObject(.Object)
11. ├─methods (local) anyStrings(validityMethod(object))
12. │ └─base::isTRUE(x)
13. └─dbarts (local) validityMethod(object)
14. └─base::parse(text = deparse(RNGkind)[-1L])
── Error ('test-bart.R:56:3'): as.party.bart works with factor predictors ──────
Error in `parse(text = deparse(RNGkind)[-1L])`: <text>:1:22: unexpected ')'
1: binom.kind = NULL)
^
Backtrace:
▆
1. ├─base::suppressWarnings(...) at test-bart.R:56:3
2. │ └─base::withCallingHandlers(...)
3. └─dbarts::bart(...)
4. └─dbarts::dbartsControl(...)
5. └─methods::new(...)
6. ├─methods::initialize(value, ...)
7. └─dbarts (local) initialize(value, ...)
8. ├─methods::callNextMethod()
9. └─methods (local) .nextMethod(.Object = .Object, ... = ...)
10. └─methods::validObject(.Object)
11. ├─methods (local) anyStrings(validityMethod(object))
12. │ └─base::isTRUE(x)
13. └─dbarts (local) validityMethod(object)
14. └─base::parse(text = deparse(RNGkind)[-1L])
── Error ('test-bart.R:79:3'): as.party.bart validates tree parameter ──────────
Error in `parse(text = deparse(RNGkind)[-1L])`: <text>:1:22: unexpected ')'
1: binom.kind = NULL)
^
Backtrace:
▆
1. ├─base::suppressWarnings(...) at test-bart.R:79:3
2. │ └─base::withCallingHandlers(...)
3. └─dbarts::bart(...)
4. └─dbarts::dbartsControl(...)
5. └─methods::new(...)
6. ├─methods::initialize(value, ...)
7. └─dbarts (local) initialize(value, ...)
8. ├─methods::callNextMethod()
9. └─methods (local) .nextMethod(.Object = .Object, ... = ...)
10. └─methods::validObject(.Object)
11. ├─methods (local) anyStrings(validityMethod(object))
12. │ └─base::isTRUE(x)
13. └─dbarts (local) validityMethod(object)
14. └─base::parse(text = deparse(RNGkind)[-1L])
── Error ('test-bart.R:118:3'): as.party.bart validates chain parameter ────────
Error in `parse(text = deparse(RNGkind)[-1L])`: <text>:1:22: unexpected ')'
1: binom.kind = NULL)
^
Backtrace:
▆
1. ├─base::suppressWarnings(...) at test-bart.R:118:3
2. │ └─base::withCallingHandlers(...)
3. └─dbarts::bart(...)
4. └─dbarts::dbartsControl(...)
5. └─methods::new(...)
6. ├─methods::initialize(value, ...)
7. └─dbarts (local) initialize(value, ...)
8. ├─methods::callNextMethod()
9. └─methods (local) .nextMethod(.Object = .Object, ... = ...)
10. └─methods::validObject(.Object)
11. ├─methods (local) anyStrings(validityMethod(object))
12. │ └─base::isTRUE(x)
13. └─dbarts (local) validityMethod(object)
14. └─base::parse(text = deparse(RNGkind)[-1L])
── Error ('test-bart.R:153:3'): as.party.bart requires data parameter ──────────
Error in `parse(text = deparse(RNGkind)[-1L])`: <text>:1:22: unexpected ')'
1: binom.kind = NULL)
^
Backtrace:
▆
1. ├─base::suppressWarnings(...) at test-bart.R:153:3
2. │ └─base::withCallingHandlers(...)
3. └─dbarts::bart(...)
4. └─dbarts::dbartsControl(...)
5. └─methods::new(...)
6. ├─methods::initialize(value, ...)
7. └─dbarts (local) initialize(value, ...)
8. ├─methods::callNextMethod()
9. └─methods (local) .nextMethod(.Object = .Object, ... = ...)
10. └─methods::validObject(.Object)
11. ├─methods (local) anyStrings(validityMethod(object))
12. │ └─base::isTRUE(x)
13. └─dbarts (local) validityMethod(object)
14. └─base::parse(text = deparse(RNGkind)[-1L])
── Error ('test-bart.R:177:3'): as.party.bart requires keeptrees = TRUE ────────
Error in `parse(text = deparse(RNGkind)[-1L])`: <text>:1:22: unexpected ')'
1: binom.kind = NULL)
^
Backtrace:
▆
1. ├─base::suppressWarnings(...) at test-bart.R:177:3
2. │ └─base::withCallingHandlers(...)
3. └─dbarts::bart(...)
4. └─dbarts::dbartsControl(...)
5. └─methods::new(...)
6. ├─methods::initialize(value, ...)
7. └─dbarts (local) initialize(value, ...)
8. ├─methods::callNextMethod()
9. └─methods (local) .nextMethod(.Object = .Object, ... = ...)
10. └─methods::validObject(.Object)
11. ├─methods (local) anyStrings(validityMethod(object))
12. │ └─base::isTRUE(x)
13. └─dbarts (local) validityMethod(object)
14. └─base::parse(text = deparse(RNGkind)[-1L])
── Error ('test-bart.R:202:3'): as.party.bart extracts different trees ─────────
Error in `parse(text = deparse(RNGkind)[-1L])`: <text>:1:22: unexpected ')'
1: binom.kind = NULL)
^
Backtrace:
▆
1. ├─base::suppressWarnings(...) at test-bart.R:202:3
2. │ └─base::withCallingHandlers(...)
3. └─dbarts::bart(...)
4. └─dbarts::dbartsControl(...)
5. └─methods::new(...)
6. ├─methods::initialize(value, ...)
7. └─dbarts (local) initialize(value, ...)
8. ├─methods::callNextMethod()
9. └─methods (local) .nextMethod(.Object = .Object, ... = ...)
10. └─methods::validObject(.Object)
11. ├─methods (local) anyStrings(validityMethod(object))
12. │ └─base::isTRUE(x)
13. └─dbarts (local) validityMethod(object)
14. └─base::parse(text = deparse(RNGkind)[-1L])
── Error ('test-bart.R:242:3'): as.party.bart handles models with missing values in training data ──
Error in `parse(text = deparse(RNGkind)[-1L])`: <text>:1:22: unexpected ')'
1: binom.kind = NULL)
^
Backtrace:
▆
1. ├─base::suppressWarnings(...) at test-bart.R:242:3
2. │ └─base::withCallingHandlers(...)
3. └─dbarts::bart(...)
4. └─dbarts::dbartsControl(...)
5. └─methods::new(...)
6. ├─methods::initialize(value, ...)
7. └─dbarts (local) initialize(value, ...)
8. ├─methods::callNextMethod()
9. └─methods (local) .nextMethod(.Object = .Object, ... = ...)
10. └─methods::validObject(.Object)
11. ├─methods (local) anyStrings(validityMethod(object))
12. │ └─base::isTRUE(x)
13. └─dbarts (local) validityMethod(object)
14. └─base::parse(text = deparse(RNGkind)[-1L])
── Error ('test-bart.R:271:3'): as.party.bart handles deep trees ───────────────
Error in `parse(text = deparse(RNGkind)[-1L])`: <text>:1:22: unexpected ')'
1: binom.kind = NULL)
^
Backtrace:
▆
1. ├─base::suppressWarnings(...) at test-bart.R:271:3
2. │ └─base::withCallingHandlers(...)
3. └─dbarts::bart(...)
4. └─dbarts::dbartsControl(...)
5. └─methods::new(...)
6. ├─methods::initialize(value, ...)
7. └─dbarts (local) initialize(value, ...)
8. ├─methods::callNextMethod()
9. └─methods (local) .nextMethod(.Object = .Object, ... = ...)
10. └─methods::validObject(.Object)
11. ├─methods (local) anyStrings(validityMethod(object))
12. │ └─base::isTRUE(x)
13. └─dbarts (local) validityMethod(object)
14. └─base::parse(text = deparse(RNGkind)[-1L])
── Error ('test-bart.R:307:3'): as.party.bart preserves variable names ─────────
Error in `parse(text = deparse(RNGkind)[-1L])`: <text>:1:22: unexpected ')'
1: binom.kind = NULL)
^
Backtrace:
▆
1. ├─base::suppressWarnings(...) at test-bart.R:307:3
2. │ └─base::withCallingHandlers(...)
3. └─dbarts::bart(...)
4. └─dbarts::dbartsControl(...)
5. └─methods::new(...)
6. ├─methods::initialize(value, ...)
7. └─dbarts (local) initialize(value, ...)
8. ├─methods::callNextMethod()
9. └─methods (local) .nextMethod(.Object = .Object, ... = ...)
10. └─methods::validObject(.Object)
11. ├─methods (local) anyStrings(validityMethod(object))
12. │ └─base::isTRUE(x)
13. └─dbarts (local) validityMethod(object)
14. └─base::parse(text = deparse(RNGkind)[-1L])
── Error ('test-bart.R:335:3'): as.party.bart with minimal trees ───────────────
Error in `parse(text = deparse(RNGkind)[-1L])`: <text>:1:22: unexpected ')'
1: binom.kind = NULL)
^
Backtrace:
▆
1. ├─base::suppressWarnings(...) at test-bart.R:335:3
2. │ └─base::withCallingHandlers(...)
3. └─dbarts::bart(...)
4. └─dbarts::dbartsControl(...)
5. └─methods::new(...)
6. ├─methods::initialize(value, ...)
7. └─dbarts (local) initialize(value, ...)
8. ├─methods::callNextMethod()
9. └─methods (local) .nextMethod(.Object = .Object, ... = ...)
10. └─methods::validObject(.Object)
11. ├─methods (local) anyStrings(validityMethod(object))
12. │ └─base::isTRUE(x)
13. └─dbarts (local) validityMethod(object)
14. └─base::parse(text = deparse(RNGkind)[-1L])
── Error ('test-bart.R:356:3'): as.party.bart produces different trees for different tree numbers ──
Error in `parse(text = deparse(RNGkind)[-1L])`: <text>:1:22: unexpected ')'
1: binom.kind = NULL)
^
Backtrace:
▆
1. ├─base::suppressWarnings(...) at test-bart.R:356:3
2. │ └─base::withCallingHandlers(...)
3. └─dbarts::bart(...)
4. └─dbarts::dbartsControl(...)
5. └─methods::new(...)
6. ├─methods::initialize(value, ...)
7. └─dbarts (local) initialize(value, ...)
8. ├─methods::callNextMethod()
9. └─methods (local) .nextMethod(.Object = .Object, ... = ...)
10. └─methods::validObject(.Object)
11. ├─methods (local) anyStrings(validityMethod(object))
12. │ └─base::isTRUE(x)
13. └─dbarts (local) validityMethod(object)
14. └─base::parse(text = deparse(RNGkind)[-1L])
── Error ('test-bart.R:384:3'): as.party.bart does not show asterisks in node summaries ──
Error in `parse(text = deparse(RNGkind)[-1L])`: <text>:1:22: unexpected ')'
1: binom.kind = NULL)
^
Backtrace:
▆
1. ├─base::suppressWarnings(...) at test-bart.R:384:3
2. │ └─base::withCallingHandlers(...)
3. └─dbarts::bart(...)
4. └─dbarts::dbartsControl(...)
5. └─methods::new(...)
6. ├─methods::initialize(value, ...)
7. └─dbarts (local) initialize(value, ...)
8. ├─methods::callNextMethod()
9. └─methods (local) .nextMethod(.Object = .Object, ... = ...)
10. └─methods::validObject(.Object)
11. ├─methods (local) anyStrings(validityMethod(object))
12. │ └─base::isTRUE(x)
13. └─dbarts (local) validityMethod(object)
14. └─base::parse(text = deparse(RNGkind)[-1L])
── Error ('test-bart.R:417:3'): active_predictors.bart() returns correct structure ──
Error in `parse(text = deparse(RNGkind)[-1L])`: <text>:1:22: unexpected ')'
1: binom.kind = NULL)
^
Backtrace:
▆
1. ├─base::suppressWarnings(...) at test-bart.R:417:3
2. │ └─base::withCallingHandlers(...)
3. └─dbarts::bart(...)
4. └─dbarts::dbartsControl(...)
5. └─methods::new(...)
6. ├─methods::initialize(value, ...)
7. └─dbarts (local) initialize(value, ...)
8. ├─methods::callNextMethod()
9. └─methods (local) .nextMethod(.Object = .Object, ... = ...)
10. └─methods::validObject(.Object)
11. ├─methods (local) anyStrings(validityMethod(object))
12. │ └─base::isTRUE(x)
13. └─dbarts (local) validityMethod(object)
14. └─base::parse(text = deparse(RNGkind)[-1L])
── Error ('test-bart.R:447:3'): active_predictors.bart() extracts from single tree ──
Error in `parse(text = deparse(RNGkind)[-1L])`: <text>:1:22: unexpected ')'
1: binom.kind = NULL)
^
Backtrace:
▆
1. ├─base::suppressWarnings(...) at test-bart.R:447:3
2. │ └─base::withCallingHandlers(...)
3. └─dbarts::bart(...)
4. └─dbarts::dbartsControl(...)
5. └─methods::new(...)
6. ├─methods::initialize(value, ...)
7. └─dbarts (local) initialize(value, ...)
8. ├─methods::callNextMethod()
9. └─methods (local) .nextMethod(.Object = .Object, ... = ...)
10. └─methods::validObject(.Object)
11. ├─methods (local) anyStrings(validityMethod(object))
12. │ └─base::isTRUE(x)
13. └─dbarts (local) validityMethod(object)
14. └─base::parse(text = deparse(RNGkind)[-1L])
── Error ('test-bart.R:475:3'): active_predictors.bart() extracts from multiple trees ──
Error in `parse(text = deparse(RNGkind)[-1L])`: <text>:1:22: unexpected ')'
1: binom.kind = NULL)
^
Backtrace:
▆
1. ├─base::suppressWarnings(...) at test-bart.R:475:3
2. │ └─base::withCallingHandlers(...)
3. └─dbarts::bart(...)
4. └─dbarts::dbartsControl(...)
5. └─methods::new(...)
6. ├─methods::initialize(value, ...)
7. └─dbarts (local) initialize(value, ...)
8. ├─methods::callNextMethod()
9. └─methods (local) .nextMethod(.Object = .Object, ... = ...)
10. └─methods::validObject(.Object)
11. ├─methods (local) anyStrings(validityMethod(object))
12. │ └─base::isTRUE(x)
13. └─dbarts (local) validityMethod(object)
14. └─base::parse(text = deparse(RNGkind)[-1L])
── Error ('test-bart.R:503:3'): active_predictors.bart() validates tree argument ──
Error in `parse(text = deparse(RNGkind)[-1L])`: <text>:1:22: unexpected ')'
1: binom.kind = NULL)
^
Backtrace:
▆
1. ├─base::suppressWarnings(...) at test-bart.R:503:3
2. │ └─base::withCallingHandlers(...)
3. └─dbarts::bart(...)
4. └─dbarts::dbartsControl(...)
5. └─methods::new(...)
6. ├─methods::initialize(value, ...)
7. └─dbarts (local) initialize(value, ...)
8. ├─methods::callNextMethod()
9. └─methods (local) .nextMethod(.Object = .Object, ... = ...)
10. └─methods::validObject(.Object)
11. ├─methods (local) anyStrings(validityMethod(object))
12. │ └─base::isTRUE(x)
13. └─dbarts (local) validityMethod(object)
14. └─base::parse(text = deparse(RNGkind)[-1L])
── Error ('test-bart.R:545:3'): active_predictors.bart() requires keeptrees = TRUE ──
Error in `parse(text = deparse(RNGkind)[-1L])`: <text>:1:22: unexpected ')'
1: binom.kind = NULL)
^
Backtrace:
▆
1. ├─base::suppressWarnings(...) at test-bart.R:545:3
2. │ └─base::withCallingHandlers(...)
3. └─dbarts::bart(...)
4. └─dbarts::dbartsControl(...)
5. └─methods::new(...)
6. ├─methods::initialize(value, ...)
7. └─dbarts (local) initialize(value, ...)
8. ├─methods::callNextMethod()
9. └─methods (local) .nextMethod(.Object = .Object, ... = ...)
10. └─methods::validObject(.Object)
11. ├─methods (local) anyStrings(validityMethod(object))
12. │ └─base::isTRUE(x)
13. └─dbarts (local) validityMethod(object)
14. └─base::parse(text = deparse(RNGkind)[-1L])
── Error ('test-bart.R:570:3'): active_predictors.bart() returns sorted unique variables ──
Error in `parse(text = deparse(RNGkind)[-1L])`: <text>:1:22: unexpected ')'
1: binom.kind = NULL)
^
Backtrace:
▆
1. ├─base::suppressWarnings(...) at test-bart.R:570:3
2. │ └─base::withCallingHandlers(...)
3. └─dbarts::bart(...)
4. └─dbarts::dbartsControl(...)
5. └─methods::new(...)
6. ├─methods::initialize(value, ...)
7. └─dbarts (local) initialize(value, ...)
8. ├─methods::callNextMethod()
9. └─methods (local) .nextMethod(.Object = .Object, ... = ...)
10. └─methods::validObject(.Object)
11. ├─methods (local) anyStrings(validityMethod(object))
12. │ └─base::isTRUE(x)
13. └─dbarts (local) validityMethod(object)
14. └─base::parse(text = deparse(RNGkind)[-1L])
── Error ('test-bart.R:597:3'): active_predictors.bart() handles numeric-only predictors ──
Error in `parse(text = deparse(RNGkind)[-1L])`: <text>:1:22: unexpected ')'
1: binom.kind = NULL)
^
Backtrace:
▆
1. ├─base::suppressWarnings(...) at test-bart.R:597:3
2. │ └─base::withCallingHandlers(...)
3. └─dbarts::bart(...)
4. └─dbarts::dbartsControl(...)
5. └─methods::new(...)
6. ├─methods::initialize(value, ...)
7. └─dbarts (local) initialize(value, ...)
8. ├─methods::callNextMethod()
9. └─methods (local) .nextMethod(.Object = .Object, ... = ...)
10. └─methods::validObject(.Object)
11. ├─methods (local) anyStrings(validityMethod(object))
12. │ └─base::isTRUE(x)
13. └─dbarts (local) validityMethod(object)
14. └─base::parse(text = deparse(RNGkind)[-1L])
── Error ('test-bart.R:622:3'): active_predictors.bart() works with all trees ──
Error in `parse(text = deparse(RNGkind)[-1L])`: <text>:1:22: unexpected ')'
1: binom.kind = NULL)
^
Backtrace:
▆
1. ├─base::suppressWarnings(...) at test-bart.R:622:3
2. │ └─base::withCallingHandlers(...)
3. └─dbarts::bart(...)
4. └─dbarts::dbartsControl(...)
5. └─methods::new(...)
6. ├─methods::initialize(value, ...)
7. └─dbarts (local) initialize(value, ...)
8. ├─methods::callNextMethod()
9. └─methods (local) .nextMethod(.Object = .Object, ... = ...)
10. └─methods::validObject(.Object)
11. ├─methods (local) anyStrings(validityMethod(object))
12. │ └─base::isTRUE(x)
13. └─dbarts (local) validityMethod(object)
14. └─base::parse(text = deparse(RNGkind)[-1L])
── Error ('test-bart.R:653:3'): active_predictors.bart() handles duplicate tree numbers ──
Error in `parse(text = deparse(RNGkind)[-1L])`: <text>:1:22: unexpected ')'
1: binom.kind = NULL)
^
Backtrace:
▆
1. ├─base::suppressWarnings(...) at test-bart.R:653:3
2. │ └─base::withCallingHandlers(...)
3. └─dbarts::bart(...)
4. └─dbarts::dbartsControl(...)
5. └─methods::new(...)
6. ├─methods::initialize(value, ...)
7. └─dbarts (local) initialize(value, ...)
8. ├─methods::callNextMethod()
9. └─methods (local) .nextMethod(.Object = .Object, ... = ...)
10. └─methods::validObject(.Object)
11. ├─methods (local) anyStrings(validityMethod(object))
12. │ └─base::isTRUE(x)
13. └─dbarts (local) validityMethod(object)
14. └─base::parse(text = deparse(RNGkind)[-1L])
── Error ('test-bart.R:679:3'): as.party.bart works with single numeric predictor ──
Error in `parse(text = deparse(RNGkind)[-1L])`: <text>:1:22: unexpected ')'
1: binom.kind = NULL)
^
Backtrace:
▆
1. ├─base::suppressWarnings(...) at test-bart.R:679:3
2. │ └─base::withCallingHandlers(...)
3. └─dbarts::bart(...)
4. └─dbarts::dbartsControl(...)
5. └─methods::new(...)
6. ├─methods::initialize(value, ...)
7. └─dbarts (local) initialize(value, ...)
8. ├─methods::callNextMethod()
9. └─methods (local) .nextMethod(.Object = .Object, ... = ...)
10. └─methods::validObject(.Object)
11. ├─methods (local) anyStrings(validityMethod(object))
12. │ └─base::isTRUE(x)
13. └─dbarts (local) validityMethod(object)
14. └─base::parse(text = deparse(RNGkind)[-1L])
── Error ('test-bart.R:700:3'): active_predictors.bart() works with single numeric predictor ──
Error in `parse(text = deparse(RNGkind)[-1L])`: <text>:1:22: unexpected ')'
1: binom.kind = NULL)
^
Backtrace:
▆
1. ├─base::suppressWarnings(...) at test-bart.R:700:3
2. │ └─base::withCallingHandlers(...)
3. └─dbarts::bart(...)
4. └─dbarts::dbartsControl(...)
5. └─methods::new(...)
6. ├─methods::initialize(value, ...)
7. └─dbarts (local) initialize(value, ...)
8. ├─methods::callNextMethod()
9. └─methods (local) .nextMethod(.Object = .Object, ... = ...)
10. └─methods::validObject(.Object)
11. ├─methods (local) anyStrings(validityMethod(object))
12. │ └─base::isTRUE(x)
13. └─dbarts (local) validityMethod(object)
14. └─base::parse(text = deparse(RNGkind)[-1L])
[ FAIL 25 | WARN 0 | SKIP 51 | PASS 1404 ]
Error:
! Test failures.
Execution halted
Flavor: r-devel-windows-x86_64