Skip to content

dbarts

0.9-33

Discrete Bayesian Additive Regression Trees Sampler

24packages depend
98.2Kdownloads / year
74.3%test coverage
12/13checks pass

Overview

About
Maintained by Vincent DorieFirst published 2014-07-1329 releasesCRAN page ↗GitHub ↗

Fits Bayesian additive regression trees (BART; Chipman, George, and McCulloch (2010) doi:10.1214/09-AOAS285) while allowing the updating of predictors or response so that BART can be incorporated as a conditional model in a Gibbs/Metropolis-Hastings sampler. Also serves as a drop-in replacement for package 'BayesTree'.

Install

Health

CRAN checks
1ERROR12OK
Failing flavors
  • ERROR r-release-macos-x86_64
Slowest check: 5.3 min · r-devel-linux-x86_64-fedora-clang
Code health
Yes
Tests · ratio 0.00
74.3%
Coverage · measured lines
100%
Documentation · exports
4
Dependencies · direct
Check history
  • ERROR2026-03-30
    11 OK · 2 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • NOTE2026-03-28
    13 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-03-25
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-03-10
    13 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMENoVignettesYes · dynamicpkgdown siteNoNEWSNoCode of conductNoContributing guideNo
Examples that run
80%
Documented parameters
66%
Return-value docs
100%
References docs
20%

Downloads

98.2K
CRAN downloads in the past year
Rank #1,436 · ~269/day · ~8.2K/mo
Daily download trend is not available in this view yet.
5.6K30 days
21.9K90 days
98.2K1 year
Compare downloads with other packages →
Also on4.3K r2u41 autocran6.3K conda_forge73 c2d4u

Repository

Repository
61Stars
25Forks
41Open issues
1Open PRs
0Releases
487Commits
6Contributors
487 commits · Last activity 2026-07-22 · +1.7% stars, 30d

Stars over time

2025-07-09 · 582026-07-07 · 61

Repository practices

Upstream repositoryBeta

4 development-tooling and community-health practices detected across 2 families in the upstream repository

Checks run against github.com/vdorie/dbarts on 2026-07-19.

Continuous integration (1)
GitHub Actions
Lint, format, editor (3)
lintrAirVS Code
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
3 external dependencies (excludes base and recommended)
Depends (1)
R >= 3.1-0
Imports (4)
statsmethodsgraphicsparallel
LinkingTo (0)
none
Enhances (0)
none

Code & Tests

Code Composition
C 16,244 (47%)C++ 12,253 (35%)R 4,506 (13%)Rd 1,236 (4%)Vignettes 497 (1%)Other 13 (0%)
Code characteristics
Object systems
S314S4 class14S4 method3RC1
Cyclomatic complexity
6.5 median / 72 max
Test cases
565 / 0.00 per code line

Test coverage

Line coverage

74%

Expression

74.5%

Tests / Examples

74.3% / 38% ex

Functions

973 14 exported

Complexity

12.3 avg / 72 max

Call network

973 nodes / 1060 edges

Loading call graph…

Lowest coverage

973 functions
FunctionCycloCoverage
makeTestModelMatrix exp10%
makeind exp10%
.onUnload20%
fillPlotCoordinatesForNode20%
getTreeDepthAndSize20%
ifelse_n30%

People & History

People (17)
Maintainer (1)
Author, Maintainer
Authors (3)
Author, Maintainer
Contributors (14)
Contributor · added in 0.9-13
Contributor · added in 0.9-13
Contributor · added in 0.9-13
Contributor · added in 0.9-13
Contributor · added in 0.9-13
Contributor · added in 0.9-13
Contributor · added in 0.9-13
Contributor · added in 0.9-13
Show 6 more contributors
Contributor · added in 0.9-13
Contributor · added in 0.9-13
Contributor · added in 0.9-13
Contributor · added in 0.9-13
Contributor · added in 0.9-13
Contributor · added in 0.9-13
Listed in earlier versions (3)
no longer listed · 0.8-6 to 0.8-7
no longer listed · 0.8-6 to 0.8-7
no longer listed · 0.8-6 to 0.8-7
Package Timeline

29 releases. Pick two to compare their code metrics. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • 0.9-33Latest
    2026-03-20 · current release · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • 0.9-32
    2025-04-02 · diff ↗
  • 0.9-30
    2024-12-03 · diff ↗
  • 0.9-28
    2024-05-02 · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • 0.9-26
    2024-02-04 · diff ↗
  • 0.9-25
    2023-12-07 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 0.9-23
    2023-01-23 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • 0.9-22
    2022-03-29 · diff ↗
  • 0.9-20
    2021-10-08 · diff ↗
  • R
    R 4.1.0 released · 2021-05-18
  • 0.9-19
    2021-01-05 · diff ↗
Show 30 earlier events
  • 0.9-18
    2020-06-12 · diff ↗
  • R
    R 4.0.0 released · 2020-04-24
  • 0.9-17
    2020-03-20 · diff ↗
  • 0.9-16
    2020-02-19 · diff ↗
  • 0.9-13
    2019-09-24 · diff ↗
  • unarchivedReturned to CRAN
    2019-09-24
  • archivedRemoved from CRAN
    2019-07-20
    installation errors were not corrected in time Uses AVX2 without checking, and the Solaris linker checks.A Also policy violation: uncredited authors
  • 0.9-12
    2019-05-25 · diff ↗
  • R
    R 3.6.0 released · 2019-04-26
  • 0.9-11
    2019-04-20 · diff ↗
  • 0.9-8
    2018-12-19 · diff ↗
  • 0.9-7
    2018-12-18 · diff ↗
  • 0.9-5
    2018-07-07 · diff ↗
  • 0.9-4
    2018-07-02 · diff ↗
  • R
    R 3.5.0 released · 2018-04-23
  • 0.9-3
    2018-04-18 · diff ↗
  • 0.9-1
    2018-03-05 · diff ↗
  • 0.9-0
    2018-03-03 · diff ↗
  • unarchivedReturned to CRAN
    2018-03-03
  • archivedRemoved from CRAN
    2018-02-27
    check problems were not corrected despite reminder Dangerous compilation flags
  • R
    R 3.4.0 released · 2017-04-21
  • 0.8-7
    2016-11-02 · diff ↗
  • 0.8-6
    2016-10-31 · diff ↗
  • R
    R 3.3.0 released · 2016-05-03
  • R
    R 3.2.0 released · 2015-04-16
  • 0.8-5
    2014-11-13 · diff ↗
  • 0.8-4
    2014-11-11 · diff ↗
  • 0.8-3
    2014-07-14 · diff ↗
  • 0.8-2
    2014-07-13
  • R
    R 3.1.0 released · 2014-04-10

Package metadata

First published
2014-07-13
Total releases
29 / 12 yrs
License
GPL (>= 2) OSI
Download size
841 KB
Installed size
not tracked yet
With dependencies
not tracked yet
Report a problem with this page →