Skip to content

flexBART

2.0.3

A More Flexible BART Model

0packages depend
1.4Kdownloads / year
test coverage
13/13checks pass

Overview

About
Maintained by Sameer K. DeshpandeFirst published 2026-02-121 releasesCRAN page ↗

Implements a faster and more expressive version of Bayesian Additive Regression Trees that, at a high level, approximates unknown functions as a weighted sum of binary regression tree ensembles. Supports fitting (generalized) linear varying coefficient models that posits a linear relationship between the inverse link and some covariates but allows that relationship to change as a function of other covariates. Additionally supports fitting heteroscedastic BART models, in which both the mean and log-variance are approximated with separate regression tree ensembles. A formula interface allows for different splitting variables to be used in each ensemble. For more details see Deshpande (2025) doi:10.1080/10618600.2024.2431072 and Deshpande et al. (2024) doi:10.1214/24-BA1470.

Install

Health

CRAN checks
13OK
Slowest check: 9.2 min · r-devel-windows-x86_64
Code health
None
Tests · ratio 0.00
not tracked
Coverage
100%
Documentation · exports
3
Dependencies · direct
Check history
  • OK2026-08-05
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-08-01
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-04-25
    12 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-04-22
    12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-04-18
    11 OK · 2 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
Show 1 earlier snapshots
  • NOTE2026-03-10
    12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMENoVignettesNopkgdown siteNoNEWSNoCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
90%
Return-value docs
100%
References docs
33%

Downloads

1.4K
CRAN downloads in the past year
Rank #17,309 · ~4/day · ~119/mo
Daily download trend is not available in this view yet.
20230 days
63790 days
1.4K1 year
Compare downloads with other packages →
Also on199 r2u25 autocran

Repository

Repository
24Stars
3Forks
1Open issues
0Open PRs
0Releases
338Commits
3Contributors
338 commits · Last activity 2026-05-12 · 0% stars, 30d

Stars over time

2024-09-28 · 222026-07-07 · 24

Repository practices

Upstream repositoryBeta

1 development-tooling and community-health practice detected across 1 family in the upstream repository

Checks run against github.com/skdeshpande91/flexbart on 2026-08-23.

Continuous integration (1)
GitHub Actions
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
7 external dependencies (excludes base and recommended)
Depends (0)
none
Imports (3)
Rcppglmnetmethods
LinkingTo (2)
Suggests (3)
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

People & History

People (5)
Maintainer (1)
Author, Maintainer
Authors (5)
Author, Maintainer
Author
Package Timeline

1 release. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • 2.0.3Latest
    2026-03-10 · current release
  • R
    R 4.5.0 released · 2025-04-11

Package metadata

First published
2026-02-12
Total releases
1 / 1 yrs
License
GPL (>= 3) OSI
Download size
105 KB
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("flexBART")
Deshpande, S. K., Balocchi, C., Hill, J., Perrett, G., & Yee, R. (2026). flexBART: A More Flexible BART Model (Version 2.0.3) [Computer software]. https://doi.org/10.32614/CRAN.package.flexBART

This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for flexBART version 2.0.3 [Data set]. HJJB, LLC. Data release v2026-08-23. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-23, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy