Skip to content

bartCause

1.0-10

Causal Inference using Bayesian Additive Regression Trees

3packages depend
11.5Kdownloads / year
61.7%test coverage
7/13checks pass

Overview

About
Maintained by Vincent DorieFirst published 2020-04-027 releasesCRAN page ↗GitHub ↗

Contains a variety of methods to generate typical causal inference estimates using Bayesian Additive Regression Trees (BART) as the underlying regression model (Hill (2012) doi:10.1198/jcgs.2010.08162).

Install

Health

CRAN checks
6ERROR7OK
Failing flavors
  • ERROR r-devel-linux-x86_64-debian-clang
  • ERROR r-devel-linux-x86_64-debian-gcc
  • ERROR r-devel-linux-x86_64-fedora-clang
  • ERROR r-devel-linux-x86_64-fedora-gcc
  • ERROR r-devel-windows-x86_64
  • ERROR r-release-macos-x86_64
Slowest check: 4.4 min · r-oldrel-windows-x86_64
Code health
Yes
Tests · ratio 0.43
61.7%
Coverage · measured lines
100%
Documentation · exports
7
Dependencies · direct
Check history
  • ERROR2026-04-25
    11 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

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

Downloads

11.5K
CRAN downloads in the past year
Rank #5,766 · ~31/day · ~957/mo
Daily download trend is not available in this view yet.
38230 days
1.5K90 days
11.5K1 year
Compare downloads with other packages →
Also on185 r2u11 autocran38 c2d4u

Repository

Repository
87Stars
10Forks
12Open issues
1Open PRs
0Releases
115Commits
2Contributors
115 commits · Last activity 2026-07-25 · +1.2% stars, 30d

Stars over time

2025-07-19 · 792026-07-11 · 87

Repository practices

Upstream repositoryBeta

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

Checks run against github.com/vdorie/bartcause on 2026-08-03.

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

Dependencies

Declared dependencies
5 external dependencies (excludes base and recommended)
Depends (1)
R >= 3.1-0
Imports (7)
dbartsmethodsstatsgraphicsparallelutilsgrDevices
LinkingTo (0)
none
Suggests (5)
Enhances (0)
none
Reverse dependencies
3direct
1indirect

Code & Tests

People & History

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

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

  • R
    R 4.6.0 released · 2026-04-24
  • 1.0-10Latest
    2025-12-11 · current release · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • 1.0-9
    2024-09-16 · diff ↗
  • 1.0-8
    2024-05-02 · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • 1.0-6
    2023-01-23 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • 1.0-4
    2020-08-10 · diff ↗
  • 1.0-3
    2020-06-15 · diff ↗
  • R
    R 4.0.0 released · 2020-04-24
  • 1.0-2
    2020-04-02
  • R
    R 3.6.0 released · 2019-04-26

Package metadata

First published
2020-04-02
Total releases
7 / 6 yrs
License
GPL (>= 2) OSI
Download size
54 KB
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Start here. This is the citation for the package itself.

citation("bartCause")

CRAN DOI

https://doi.org/10.32614/CRAN.package.bartCause

BibTeX, derived from DESCRIPTION

@Manual{bartCause,
  title  = {bartCause: Causal Inference using Bayesian Additive Regression Trees},
  author = {Dorie, Vincent and Hill, Jennifer},
  year   = {2025},
  note   = {R package version 1.0-10},
  doi    = {10.32614/CRAN.package.bartCause},
  url    = {https://CRAN.R-project.org/package=bartCause}
}

Derived from the package DESCRIPTION, not from a citation file the authors wrote. If they publish one later, prefer it.

This is the citation for the package. It is not a citation for the R Observatory.

Cite this page

Use this when the claim is about a measurement on this page.

BibTeX

@misc{robservatorybartCause,
  author    = {Balamuta, James Joseph},
  title     = {{R} {Observatory}: Metrics for {bartCause} version 1.0-10},
  year      = {2026},
  publisher = {HJJB, LLC},
  url       = {https://r-observatory.thecoatlessprofessor.com/packages/bartCause},
  note      = {Data set. Data release v2026-08-05}
}

APA

Balamuta, J. J. (2026). R Observatory: Metrics for bartCause version 1.0-10 [Data set]. HJJB, LLC. Data release v2026-08-05. https://r-observatory.thecoatlessprofessor.com/packages/bartCause

RIS

TY  - DATA
AU  - Balamuta, James Joseph
TI  - R Observatory: Metrics for bartCause version 1.0-10
PY  - 2026
PB  - HJJB, LLC
N1  - Data release v2026-08-05
UR  - https://r-observatory.thecoatlessprofessor.com/packages/bartCause
ER  - 

In prose

These package metrics were obtained from the R Observatory (Balamuta, 2026), data release v2026-08-05, https://r-observatory.thecoatlessprofessor.com/packages/bartCause.

Bound to data release v2026-08-05, which is what makes the numbers on this page reproducible. See how to cite.

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