caretEnsemble
Ensembles of Caret Models
v4.0.1
·
Sep 12, 2024
·
MIT + file LICENSE
Description
Functions for creating ensembles of caret models: caretList() and caretStack(). caretList() is a convenience function for fitting multiple caret::train() models to the same dataset. caretStack() will make linear or non-linear combinations of these models, using a caret::train() model as a meta-model.
Downloads
1.2K
Last 30 days
3446th
4K
Last 90 days
4K
Last year
Trend: -59.2% (30d vs prior 30d)
CRAN Check Status
1
ERROR
13
OK
Show all 14 flavors
| Flavor | Status |
|---|---|
| r-devel-linux-x86_64-debian-clang | OK |
| r-devel-linux-x86_64-debian-gcc | OK |
| r-devel-linux-x86_64-fedora-clang | OK |
| r-devel-linux-x86_64-fedora-gcc | OK |
| r-devel-macos-arm64 | OK |
| r-devel-windows-x86_64 | OK |
| r-oldrel-macos-arm64 | OK |
| r-oldrel-macos-x86_64 | OK |
| r-oldrel-windows-x86_64 | OK |
| r-patched-linux-x86_64 | OK |
| r-release-linux-x86_64 | OK |
| r-release-macos-arm64 | OK |
| r-release-macos-x86_64 | ERROR |
| r-release-windows-x86_64 | OK |
Check details (14 non-OK)
OK
r-devel-linux-x86_64-debian-clang
*
OK
r-devel-linux-x86_64-debian-gcc
*
OK
r-devel-linux-x86_64-fedora-clang
*
OK
r-devel-linux-x86_64-fedora-gcc
*
OK
r-devel-macos-arm64
*
OK
r-devel-windows-x86_64
*
OK
r-oldrel-macos-arm64
*
OK
r-oldrel-macos-x86_64
*
OK
r-oldrel-windows-x86_64
*
OK
r-patched-linux-x86_64
*
OK
r-release-linux-x86_64
*
OK
r-release-macos-arm64
*
ERROR
r-release-macos-x86_64
tests
Running ‘testthat.R’ [68s/120s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> testthat::test_check("caretEnsemble")
Loading required package: caretEnsemble
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 612 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-caretList.R:309:3'): caretList supports models that return an array or matrix ──
Error: Required packages are missing: klaR
Backtrace:
▆
1. ├─testthat::expect_output(...) at test-caretList.R:309:3
2. │ └─testthat:::quasi_capture(...)
3. │ ├─testthat (local) .capture(...)
4. │ │ └─testthat::capture_output_lines(code, print, width = width)
5. │ │ └─testthat:::eval_with_output(code, print = print, width = width)
6. │ │ ├─withr::with_output_sink(path, withVisible(code))
7. │ │ │ └─base::force(code)
8. │ │ └─base::withVisible(code)
9. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
10. ├─testthat::expect_warning(...)
11. │ └─testthat:::quasi_capture(...)
12. │ ├─testthat (local) .capture(...)
13. │ │ └─base::withCallingHandlers(...)
14. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
15. └─caretEnsemble::caretList(X, y, methodList = model_names, tuneLength = 1L)
16. └─base::lapply(...)
17. └─caretEnsemble (local) FUN(X[[i]], ...)
18. ├─base::do.call(caret::train, model_args)
19. ├─caret (local) `<fn>`(...)
20. └─caret:::train.default(...)
21. └─caret::checkInstall(models$library)
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 612 ]
Error: Test failures
Execution halted
OK
r-release-windows-x86_64
*
Check History
ERROR 13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Mar 9, 2026
ERROR
r-release-macos-x86_64
tests
Running ‘testthat.R’ [68s/120s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> testthat::test_check("caretEnsemble")
Loading required package: caretEnsemble
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 612 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-caretList.R:309:3'): caretList supports models that return an array or matrix ──
Error: Required packages are missing: klaR
Backtrace:
▆
1. ├─testthat::expe
Reverse Dependencies (3)
suggests
Dependency Network
Version History
new
4.0.1
Mar 9, 2026