Skip to content

bonsai

Model Wrappers for Tree-Based Models

v0.4.1 · May 21, 2026 · MIT + file LICENSE

Description

Bindings for additional tree-based model engines for use with the 'parsnip' package. Models include gradient boosted decision trees with 'LightGBM' (Ke et al, 2017.), conditional inference trees and conditional random forests with 'partykit' (Hothorn and Zeileis, 2015. and Hothorn et al, 2006. <doi:10.1198/106186006X133933>), and accelerated oblique random forests with 'aorsf' (Jaeger et al, 2022 <doi:10.5281/zenodo.7116854>).

Downloads

CRAN

1.6K

Last 30 days

2996th

4.5K

Last 90 days

22.9K

Last year

Trend: -1% (30d vs prior 30d)

r2u CRAN

37

Last 30 days

55

Last 90 days

179

Last year

Trend: +131.3% (30d vs prior 30d)

autoCRAN

6

Last 7 days

42

Last 30 days

4

All-time

autoCRAN-only: this name is served only by autoCRAN, so the count is exact.

CRAN Check Status

13 OK
Show all 13 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-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 OK
r-release-windows-x86_64 OK

Check History

OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 9, 2026
ERROR 12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Jun 8, 2026
ERROR r-devel-linux-x86_64-debian-gcc

package dependencies

Package required but not available: ‘parsnip’

Packages suggested but not available for checking: 'rsample', 'tune'

See section ‘The DESCRIPTION file’ in the ‘Writing R Extensions’
manual.
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Reverse Dependencies (5)

imports

Dependency Network

Dependencies Reverse dependencies parsnip cli dials dplyr purrr rlang tibble withr sae.projection bundle orbital tidyAML tidypredict bonsai

Version History

9 tracked
updated 0.4.1 ← 0.4.0 diff May 21, 2026
new 0.4.0 Mar 10, 2026
updated 0.4.0 ← 0.3.2 diff Jun 24, 2025
updated 0.3.2 ← 0.3.1 diff Feb 11, 2025
updated 0.3.1 ← 0.3.0 diff Jul 22, 2024
updated 0.3.0 ← 0.2.1 diff Jun 23, 2024
updated 0.2.1 ← 0.2.0 diff Nov 28, 2022
updated 0.2.0 ← 0.1.0 diff Aug 30, 2022
new 0.1.0 Jun 22, 2022