Skip to content

dbarts

Discrete Bayesian Additive Regression Trees Sampler

v0.9-33 · Mar 19, 2026 · GPL (>= 2)

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.5K

Last 30 days

1526th

19.2K

Last 90 days

85.8K

Last year

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

CRAN Check Status

1 ERROR
6 NOTE
7 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang NOTE
r-devel-linux-x86_64-debian-gcc NOTE
r-devel-linux-x86_64-fedora-clang NOTE
r-devel-linux-x86_64-fedora-gcc NOTE
r-devel-macos-arm64 OK
r-devel-windows-x86_64 NOTE
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 ERROR
r-patched-linux-x86_64 NOTE
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK
Check details (7 non-OK)
NOTE r-devel-linux-x86_64-debian-clang

compiled code

File ‘dbarts/libs/dbarts.so’:
  Found non-API call to R: ‘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.
NOTE r-devel-linux-x86_64-debian-gcc

compiled code

File ‘dbarts/libs/dbarts.so’:
  Found non-API call to R: ‘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.
NOTE r-devel-linux-x86_64-fedora-clang

compiled code

File ‘dbarts/libs/dbarts.so’:
  Found non-API call to R: ‘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.
NOTE r-devel-linux-x86_64-fedora-gcc

compiled code

File ‘dbarts/libs/dbarts.so’:
  Found non-API call to R: ‘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.
NOTE r-devel-windows-x86_64

compiled code

File 'dbarts/libs/x64/dbarts.dll':
  Found non-API call to R: '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.
ERROR r-oldrel-windows-x86_64

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_sampler_mixture_model.Rmd' failed with diagnostics:
LaTeX failed to compile D:/RCompile/CRANpkg/local/4.4/dbarts.Rcheck/vign_test/dbarts/vignettes/gibbs_sampler_mixture_model.tex. See https://yihui.org/tinytex/r/#debugging for debugging tips. See gibbs_sampler_mixture_model.log for more info.
--- failed re-building 'gibbs_sampler_mixture_model.Rmd'

--- re-building 'working_with_saved_trees.Rmd' using rmarkdown
! Package pdftex.def Error: File `5c5aea49af9aed9089ea5c84a6cdba7a57d7cc8c.pdf'
 not found: using draft setting.

Error: processing vignette 'working_with_saved_trees.Rmd' failed with diagnostics:
LaTeX failed to compile D:/RCompile/CRANpkg/local/4.4/dbarts.Rcheck/vign_test/dbarts/vignettes/working_with_saved_trees.tex. See https://yihui.org/tinytex/r/#debugging for debugging tips. See working_with_saved_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 r-patched-linux-x86_64

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.

Additional Issues

Check History

ERROR 11 OK · 2 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Mar 30, 2026
NOTE r-devel-linux-x86_64-debian-gcc

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.
NOTE r-devel-linux-x86_64-fedora-clang

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.
ERROR r-oldrel-windows-x86_64

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
NOTE r-devel-linux-x86_64-debian-gcc

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
NOTE r-oldrel-macos-arm64

package vignettes

Package has ‘vignettes’ subdirectory but apparently no vignettes.
Perhaps the ‘VignetteBuilder’ information is missing from the
DESCRIPTION file?

Reverse Dependencies (21)

depends

linking_to

Dependency Network

Dependencies Reverse dependencies stan4bart EBcoBART bartCause bartMan bartXViz glossa riAFTBART tidytreatment voi MatchIt WeightIt adrftools bundle butcher countSTAR +6 more reverse deps dbarts

Version History

updated 0.9-33 ← 0.9-32 diff Mar 20, 2026
new 0.9-32 Mar 10, 2026
updated 0.9-32 ← 0.9-30 diff Apr 1, 2025
updated 0.9-30 ← 0.9-28 diff Dec 2, 2024
updated 0.9-28 ← 0.9-26 diff May 1, 2024
updated 0.9-26 ← 0.9-25 diff Feb 3, 2024
updated 0.9-25 ← 0.9-23 diff Dec 6, 2023
updated 0.9-23 ← 0.9-22 diff Jan 22, 2023
updated 0.9-22 ← 0.9-20 diff Mar 28, 2022
updated 0.9-20 ← 0.9-19 diff Oct 7, 2021
updated 0.9-19 ← 0.9-18 diff Jan 4, 2021
updated 0.9-18 ← 0.9-17 diff Jun 11, 2020
updated 0.9-17 ← 0.9-16 diff Mar 19, 2020
updated 0.9-16 ← 0.9-13 diff Feb 18, 2020
updated 0.9-13 ← 0.9-12 diff Sep 23, 2019
updated 0.9-12 ← 0.9-11 diff May 24, 2019
updated 0.9-11 ← 0.9-8 diff Apr 19, 2019
updated 0.9-8 ← 0.9-7 diff Dec 18, 2018
updated 0.9-7 ← 0.9-5 diff Dec 17, 2018
updated 0.9-5 ← 0.9-4 diff Jul 6, 2018