R Observatory
Search
install.packages("BMS")
CRAN checks, method
OKnotes on 2 of 13
CRAN 30-day downloads, method
671−34.9% down on the 30 days before, the worse direction

Bayesian Model Averaging for linear models with a wide choice of (customizable) priors. Built-in priors include coefficient priors (fixed, hyper-g and empirical priors), 5 kinds of model priors, moreover model sampling by enumeration or various MCMC approaches.

Full description

Bayesian Model Averaging for linear models with a wide choice of (customizable) priors. Built-in priors include coefficient priors (fixed, hyper-g and empirical priors), 5 kinds of model priors, moreover model sampling by enumeration or various MCMC approaches. Post-processing functions allow for inferring posterior inclusion and model probabilities, various moments, coefficient and predictive densities. Plotting functions available for posterior model size, MCMC convergence, predictive and coefficient densities, best models representation, BMA comparison. Also includes Bayesian normal-conjugate linear model with Zellner's g prior, and assorted methods.

Maintainer
Stefan Zeugner
Licence
BSD_3_clause + file LICENSE
Latest release
9 Aug 2022
First release
26 Jul 2010

Compare with another package

More details
Releases
7
Needs compilation
No
Needs R
>= 2.10
Date
2022-08-05
LazyData
true
RoxygenNote
7.2.1
Task views (2)
Subjects (1) Method, Subjects
Cite

Package

Run in R for the authors' entry:

citation("BMS")

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

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

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

No warnings or errors. 2 of 13 check platforms have notes.

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

    The unreleased R on Linux, x86_64, debian-clang

    Note

    Version checked
    0.3.5
    Time taken
    113 s

    CRAN incoming feasibility: Note

    Maintainer: ‘Stefan Zeugner <stefan.zeugner@ec.europa.eu>’

    Full output

  • r-devel-linux-x86_64-debian-gcc

    The unreleased R on Linux, x86_64, debian-gcc

    Note

    Version checked
    0.3.5
    Time taken
    77 s

    CRAN incoming feasibility: Note

    Maintainer: ‘Stefan Zeugner <stefan.zeugner@ec.europa.eu>’

    Full output

  • r-devel-linux-x86_64-fedora-clang

    The unreleased R on Linux, x86_64, fedora-clang

    OK

    Version checked
    0.3.5
    Time taken
    74 s
  • r-devel-linux-x86_64-fedora-gcc

    The unreleased R on Linux, x86_64, fedora-gcc

    OK

    Version checked
    0.3.5
    Time taken
    81 s
  • r-devel-windows-x86_64

    The unreleased R on Windows, x86_64

    OK

    Version checked
    0.3.5
    Time taken
    155 s
  • r-oldrel-macos-arm64

    The previous release of R on macOS, arm64

    OK

    Version checked
    0.3.5
  • r-oldrel-macos-x86_64

    The previous release of R on macOS, x86_64

    OK

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

    The previous release of R on Windows, x86_64

    OK

    Version checked
    0.3.5
    Time taken
    137 s
  • r-patched-linux-x86_64

    The patched release of R on Linux, x86_64

    OK

    Version checked
    0.3.5
    Time taken
    110 s
  • r-release-linux-x86_64

    The current release of R on Linux, x86_64

    OK

    Version checked
    0.3.5
    Time taken
    105 s
  • r-release-macos-arm64

    The current release of R on macOS, arm64

    OK

    Version checked
    0.3.5
    Time taken
    31 s
  • r-release-macos-x86_64

    The current release of R on macOS, x86_64

    OK

    Version checked
    0.3.5
    Time taken
    148 s
  • r-release-windows-x86_64

    The current release of R on Windows, x86_64

    OK

    Version checked
    0.3.5
    Time taken
    142 s
  • 2 Note
  • 11 OK
Check output (1)

CRAN incoming feasibility, Note on 2 platforms

Maintainer: ‘Stefan Zeugner <stefan.zeugner@ec.europa.eu>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: c(person(given = "Martin",
                      family = "Feldkircher",
                      role = "aut"),
               person(given = "Stefan",
                      family = "Zeugner",
                      role = c("aut", "cre"),
                      email = "stefan.zeugner@ec.europa.eu"),
               person(given = "Paul",
                      family = "Hofmarcher",
                      role = "aut"))
as necessary.

Package CITATION file contains call(s) to old-style personList() or
as.personList().  Please use c() on person objects instead.
Package CITATION file contains call(s) to old-style citEntry().  Please
use bibentry() instead.

Check results on CRAN

Total downloads in the last 30 days
1,422+18.1% up on the 30 days before, the better directionIt is the sum of 5 channels: CRAN, r2u, autoCRAN, conda-forge and c2d4u.

CRAN rank

4,604 of 26,529

CRAN

671 downloads in the last 30 days

Rank
4,604 of 26,529
Change
−34.9% down on the 30 days before, the worse direction

It is in the total. Take it out

r2u

73 downloads in the last 30 days

Rank
2,677 of 30,526
Change
+181% up on the 30 days before, the better direction

It is in the total. Take it out

autoCRAN

34 downloads in the last 30 days

Rank
1,198 of 29,130
Change
−42.4% down on the 30 days before, the worse direction

It is in the total. Take it out

conda-forge

631 downloads in the last 30 days

Rank
1,318 of 3,828
Change
+988% up on the 30 days before, the better direction

It is in the total. Take it out

c2d4u, no longer updated

13 downloads in the last 30 days

Rank
1,323 of 7,575
Change
−58.1% down on the 30 days before, the worse direction

It is in the total. Take it out

Over time

Compare downloads

Needs
3
Dependent packages
1
Suggested by
2
Needs (3)
  • graphics
  • methods
  • stats
Installing it adds
0 packages, 0 KB of source
Of those, need compilation
0
Dependent packages (1)
PackageTitleDownloads in 30 days
bayesicsBayesian Analyses for One- and Two-Sample Inference and Regression Methods461
Functions
94
Public exports
24
Lines of R code
6,845
Median complexity
3.5
Functions (94)
Size and composition

Lines by kind (10,509)

KindLinesShare
R code6,84565%
Documentation2,98628%
Guides6786%

Lines by language

LanguageLinesShare
R6,84565%
Rd2,98628%
Vignettes5565%
Other1221%

Languages are counted from file extensions.

Files
59
R functions
94
Object systems
S3: 26 methods, S4: 5 classes
Complexity
Median
3.5
Mean
7.52
Highest
60
Median lines per function
18
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
94
Calls
109
Unconnected
19
Groups
5
Growth (7 releases)
Total lines by release
5,095 on 26 Jul 201010,509 on 9 Aug 2022
Release changes

The package was built and has no tests to run.

Lines of tests
0
Exports named in tests
0%
Test suite
Has tests
No
Test frameworks
No tests in this release
Test lines per line of code
0
Exports documented
100%
Arguments documented
99.3%
Return value documented
85.7%
Help pages with examples
89.7%
Examples run in checks
100%
Guides (1)
Other documentation
README
No
Release notes file
Yes
Help pages
39
Lines of documentation
2,986

2 datasets, 1 can be loaded by name

DatasetSizeColumns
dataflsFLS (2001) growth data72 × 42y, Abslat, Spanish, French, Brit, WarDummy and 36 more
.flsresultslength 5

No repository on record

R releases
  • On CRAN
  • Archived
  • Release
0.3.00.3.10.3.30.3.40.3.5Archived and backArchived and back

Archived and back

ArchivedBackCRAN's reasonKind
26 Apr 20229 Aug 2022email to the maintainer was undeliverable. Also 'coercion to logical(1)' issueMaintainer unreachable
VersionReleasedREvents
0.3.5 current9 Aug 20224.2.1Back on CRAN 9 Aug 2022
Licence: BSD_3_clause + file LICENSE
0.3.424 Nov 20153.2.2Archived 26 Apr 2022
“email to the maintainer was undeliverable. Also 'coercion to logical(1)' issue”
0.3.322 Nov 20133.0.2
0.3.15 Sep 20122.15.1
0.3.05 May 20112.13.0
0.2.530 Jul 20102.11.1
0.2.426 Jul 20102.11.1

Relicensed from Artistic-2.0 in version 0.3.5.

Release notes (0.3.5)

Last build 2022-08-05. Rebuilding package with modern means in order to prepare expansion of package.

Coding started in Jan 2022, fixing small issues...

Main changes

  • License changed from artistic to BSD3
  • Co-author added: Paul Hofmarcher, maintainer email changed.
  • Source coude released at github: github.com/zeugner/BMS, no with roxygen documentation
  • For issues, check bms.zeugner.eu

*

Bug fixes

  • bms(): Fixed numerical tolerance bugs relating to enumeration over datasets with 1000+ observations
  • Fixed coercion to logical(1) issue
  • Reduced file size of bma objects somewhat