dbarts
Discrete Bayesian Additive Regression Trees Sampler
Description
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'.
Downloads
6.2K
Last 30 days
1470th
22.6K
Last 90 days
97.2K
Last year
Trend: -31.5% (30d vs prior 30d)
67
Last 30 days
338
Last 90 days
4.3K
Last year
Trend: +8.1% (30d vs prior 30d)
8
Last 7 days
20
Last 30 days
6
All-time
autoCRAN-only: this name is served only by autoCRAN, so the count is exact.
249
Last 30 days
1K
Last 90 days
6.3K
Last year
Trend: -41.6% (30d vs prior 30d)
CRAN Check Status
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 | ERROR |
| r-release-windows-x86_64 | OK |
Check details (1 non-OK)
whether package can be installed
Installation failed. See ‘/Volumes/Builds/packages/big-sur-x86_64/results/4.6/dbarts.Rcheck/00install.out’ for details.
Additional Issues
Check History
ERROR 11 OK · 2 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Mar 30, 2026
compiled code
File ‘dbarts/libs/dbarts.so’: Found non-API calls to R: ‘R_MissingArg’, ‘R_UnboundValue’ Compiled code should not call non-API entry points in R. See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual, and section ‘Moving into C API compliance’ for issues with the use of non-API entry points.
compiled code
File ‘dbarts/libs/dbarts.so’: Found non-API calls to R: ‘R_MissingArg’, ‘R_UnboundValue’ Compiled code should not call non-API entry points in R. See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual, and section ‘Moving into C API compliance’ for issues with the use of non-API entry points.
re-building of vignette outputs
Error(s) in re-building vignettes: --- re-building 'gibbs_sampler_mixture_model.Rmd' using rmarkdown ! Package pdftex.def Error: File `88e1f381b69f8b96e16b4c95c0dfc99cd2507662.pdf' not found: using draft setting. Error: processing vignette 'gibbs_s ...[truncated]... d_trees.log for more info. --- failed re-building 'working_with_saved_trees.Rmd' SUMMARY: processing the following files failed: 'gibbs_sampler_mixture_model.Rmd' 'working_with_saved_trees.Rmd' Error: Vignette re-building failed. Execution halted
NOTE 13 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 27, 2026
compiled code
File ‘dbarts/libs/dbarts.so’: Found non-API calls to R: ‘R_MissingArg’, ‘R_UnboundValue’ Compiled code should not call non-API entry points in R. See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual, and section ‘Moving into C API compliance’ for issues with the use of non-API entry points.
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 24, 2026
NOTE 13 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
package vignettes
Package has ‘vignettes’ subdirectory but apparently no vignettes. Perhaps the ‘VignetteBuilder’ information is missing from the DESCRIPTION file?
Code
Structure
Lines of code
34,749
Files
229
Compiled share
82%
Has compiled src
Yes
Language breakdown
API
Exported functions
14
Internal functions
50
Testing & CI
Has tests
Yes
Test-to-code ratio
0.00
testthat edition
–
CI present
No
CI type
[]
PR gated
No
Docs
Return-value doc rate
100%
\dontrun example ratio
20%
Roxygen coverage
100%
Has pkgdown
No
NEWS present
No
Health & Security signals
Informational signals; not verdicts.
on.exit coverage
0%
Unsafe pattern score
6
Dep constraint coverage
0%
Secret pattern count
0
Bundled 3rd-party code
2 items
Portability & License
Min R version
–
System requirements
–
C++ standard
–
License
GPL (>= 2)
License flags
SPDX valid, OSI approved
History
Versions
29
First release
2014-07-12
Latest release
2026-03-20
Avg cadence
120 days
Cold removal rate
100%
Dep drift
2
LOC over versions
Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/cran-code-metrics.