R Observatory
Search
install.packages("bartMachine")
CRAN 30-day downloads, method
3,853+28.1% up on the 30 days before, the better direction
Test coverage, method
0.6%of lines run by tests

An advanced implementation of Bayesian Additive Regression Trees with expanded features for data analysis and visualization.

Maintainer
Adam Kapelner
Licence
GPL-3
Latest release
4 May 2026
First release
7 Dec 2013

Compare with another package

More details
Releases
26
Needs compilation
No
Needs R
>= 2.14.0
Config/testthat/edition
3
Date
2026-05-03
RoxygenNote
7.3.3
SystemRequirements
Java (>= 21.0), TornadoVM (if you want GPU optimization)
Task views (2)
Subjects (1) Method, Subjects
Cite

Package

Run in R for the authors' entry:

citation("bartMachine")

The package provides a citation file, so citation() returns the authors' own entry.

It points to 10.18637/jss.v070.i04.

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 bartMachine version 1.4.2 [Data set]. HJJB, LLC. Data release v2026-10-28. https://doi.org/10.5281/zenodo.21843040
About

From data release v2026-10-28, which the citation names so these numbers can be found later.

All 13 check platforms pass.

  • r-devel-linux-x86_64-debian-clang

    The unreleased R on Linux, x86_64, debian-clang

    OK

    Version checked
    1.4.2
    Time taken
    117 s
  • r-devel-linux-x86_64-debian-gcc

    The unreleased R on Linux, x86_64, debian-gcc

    OK

    Version checked
    1.4.2
    Time taken
    86 s
  • r-devel-linux-x86_64-fedora-clang

    The unreleased R on Linux, x86_64, fedora-clang

    OK

    Version checked
    1.4.2
    Time taken
    81 s
  • r-devel-linux-x86_64-fedora-gcc

    The unreleased R on Linux, x86_64, fedora-gcc

    OK

    Version checked
    1.4.2
    Time taken
    83 s
  • r-devel-windows-x86_64

    The unreleased R on Windows, x86_64

    OK

    Version checked
    1.4.2
    Time taken
    147 s
  • r-oldrel-macos-arm64

    The previous release of R on macOS, arm64

    OK

    Version checked
    1.4.2
    Time taken
    33 s
  • r-oldrel-macos-x86_64

    The previous release of R on macOS, x86_64

    OK

    Version checked
    1.4.2
    Time taken
    114 s
  • r-oldrel-windows-x86_64

    The previous release of R on Windows, x86_64

    OK

    Version checked
    1.4.2
    Time taken
    168 s
  • r-patched-linux-x86_64

    The patched release of R on Linux, x86_64

    OK

    Version checked
    1.4.2
    Time taken
    111 s
  • r-release-linux-x86_64

    The current release of R on Linux, x86_64

    OK

    Version checked
    1.4.2
    Time taken
    111 s
  • r-release-macos-arm64

    The current release of R on macOS, arm64

    OK

    Version checked
    1.4.2
    Time taken
    36 s
  • r-release-macos-x86_64

    The current release of R on macOS, x86_64

    OK

    Version checked
    1.4.2
    Time taken
    136 s
  • r-release-windows-x86_64

    The current release of R on Windows, x86_64

    OK

    Version checked
    1.4.2
    Time taken
    193 s
  • 13 OK

Over time

No change since 8 Sep 2026

As a list (7)
ChangedWorst statusOKNotesWarningsErrors
8 Sep 2026OK13000
7 Sep 2026Error12001
5 Aug 2026OK13000
1 Aug 2026Note12100
6 Apr 2026OK14000
4 Apr 2026Error13001
10 Mar 2026OK14000

Since March 2026

Check results on CRAN

Total downloads in the last 30 days
3,924+26.3% up on the 30 days before, the better directionIt is the sum of 4 channels: CRAN, r2u, autoCRAN and c2d4u.

CRAN rank

1,809 of 26,530

CRAN

3,853 downloads in the last 30 days

Rank
1,809 of 26,530
Change
+28.1% up on the 30 days before, the better direction

It is in the total. Take it out

r2u

42 downloads in the last 30 days

Rank
3,438 of 30,526
Change
+68% up on the 30 days before, the better direction

It is in the total. Take it out

autoCRAN

21 downloads in the last 30 days

Rank
2,131 of 29,212
Change
−64.4% down on the 30 days before, the worse direction

It is in the total. Take it out

c2d4u, no longer updated

8 downloads in the last 30 days

Rank
2,093 of 7,575
Change
−52.9% down on the 30 days before, the worse direction

It is in the total. Take it out

Over time

Compare downloads

Needs
10
Dependent packages
2
Suggested by
5
Needs (10)
Installing it adds
35 packages, 29.4 MB of source
Of those, need compilation
17
Optional extras (2)
Dependent packages (2)
PackageTitleDownloads in 30 days
bartXVizVisualization of BART and BARP using SHAP346
bartManCreate Visualisations for BART Models308
Functions
61
Public exports
31
Lines of R code
5,065
Median complexity
3
Functions (61)
Size and composition

Lines by kind (10,907)

KindLinesShare
R code5,06546%
Tests1,22111%
Documentation2,26521%
Guides2,35622%

Lines by language

LanguageLinesShare
R6,28658%
Rd2,26521%
Vignettes2,06319%
Other2933%

Languages are counted from file extensions.

Files
142
R functions
61
Object systems
S3: 3 methods
Complexity
Median
3
Mean
7.7
Highest
106
Median lines per function
28
About complexity

Cyclomatic complexity counts the independent paths through a function: 1 is a straight line, higher is harder to test. R functions only.

Call graph figures
R functions
61
Calls
79
Unconnected
9
Groups
4
Growth (26 releases)
Total lines by release
4,158 on 7 Dec 201310,907 on 4 May 2026
Release changes

The tests ran and coverage was measured.

Lines run by tests
0.6%
Expressions run by tests
0.8%
Test cases
47
Exports named in tests
100%
Coverage by file (13)
Coverage run
Lines counted
2,646
Lines the tests ran
16
Tests passed
Yes
Measured with
covr 3.6.5 on R 4.6.1
Test suite
Has tests
Yes
Test frameworks
testthat
Test cases
47
Lines of tests
1,221
Test lines per line of code
0.24
Exports documented
100%
Arguments documented
98.3%
Return value documented
100%
Help pages with examples
91.4%
Examples run in checks
0%
Guides (1)
Other documentation
README
No
Release notes file
No
Help pages
35
Lines of documentation
2,265
DatasetSizeColumns
ankarabenchmark_datasets1,609 × 10maxtemp, mintemp, dewpoint, precip, sea.level.pressure, standard.pressure and 4 more
automobileData concerning automobile prices.201 × 25symboling, normalized_losses, fuel_type, aspiration, num_doors, body_style and 19 more
baseballbenchmark_datasets337 × 17BA, OBP, Runs, Hits, X2B, X3B and 11 more
bostonbenchmark_datasets506 × 14medv, crim, zn, indus, chas, nox and 8 more
compactivbenchmark_datasets8,192 × 22lread, lwrite, scall, sread, swrite, fork and 16 more
ozonebenchmark_datasets330 × 9vh, wind, humid, temp, ibh, dpg and 3 more
polebenchmark_datasets5,000 × 27Att1, Att2, Att3, Att4, Att5, Att6 and 21 more
triazinebenchmark_datasets186 × 59p1.polar, p1.size, p1.flex, p1.h.doner, p1.h.acceptor, p1.pi.doner and 53 more
wine.redbenchmark_datasets1,599 × 12fixed.acidity, volatile.acidity, citric.acid, residual.sugar, chlorides, free.sulfur.dioxide and 6 more
wine.whitebenchmark_datasets4,898 × 12fixed.acidity, volatile.acidity, citric.acid, residual.sugar, chlorides, free.sulfur.dioxide and 6 more
Earlier names (1)
  • see COPYRIGHTS file for the authors of the java libraries

kapelner / bartmachine on github.com

Stars
67no change on 30 days ago
Forks
26
Open issues
0
Last commit
3 Sep 2026
Activity
Commits
248
Open pull requests
0
Tagged releases
0
Latest tagged release
–
Issues closed in
4 days (median)
Pull requests closed in
0 days (median)
Pull requests merged
83%
Created
2 Dec 2013
Licence file reads as
MIT
Development practices (3)
KindFound
Continuous integrationGitHub Actions
Docs sourceGitHub Pages site last deployed 2026-09-03
The repository has a site deploy workflow

Method, repository practices

Across kapelner

Claude Codeat least 1 crediting itClaude CodeFirst seen on or before 3 Sep 2026at least 1 crediting it
Claude Fable 5.1Claude Fable 5.13 Sep 20261 commit

Tools

ToolFirst seenCommits crediting it
Claude Code3 Sep 2026 or earlier1 at least

Models

ModelCommitsFirst commitLast commitCredit lines of
Claude Fable 5.113 Sep 20263 Sep 2026Claude Code

Across kapelner

R releases
  • On CRAN
  • Release
VersionReleasedR
1.4.2 current4 May 20264.6.0
1.4.1.120 Jan 20264.5.2
1.4.119 Jan 20264.5.2
1.417 Jan 20264.5.2
1.3.4.17 Jul 20234.3.1
1.3.426 Jun 20234.3.1
1.3.3.127 Feb 20234.2.2
1.3.311 Jan 20234.2.2
Earlier versions (18)
VersionReleasedREvents
1.3.226 Oct 20224.2.1
1.326 Aug 20224.2.1
1.2.723 Aug 20224.2.1
1.2.617 Dec 20204.0.3
1.2.5.113 Aug 20204.0.2
1.2.521 Jul 20204.0.2
1.2.4.24 May 20183.5.0
1.2.4.16 Apr 20183.4.4
1.2.43 Mar 20183.4.3
1.2.312 May 20163.3.0
1.2.225 Mar 20163.2.4
1.2.127 Feb 20163.2.3
1.2.010 Mar 20153.1.3
1.1.12 Dec 20143.1.2
1.0.45 Sep 20143.1.1Licence: GPL-3
1.0.25 Feb 20143.0.2Licence: GPL-2 | GPL-3 | MIT + file LICENSE
1.0.19 Dec 20133.0.2
1.07 Dec 20133.0.2

Relicensed from GPL-2 | GPL-3 | MIT + file LICENSE in version 1.0.4.