R Observatory
Search
install.packages("modelbpp")
CRAN 30-day downloads, method
275−18.9% down on the 30 days before, the worse direction
Test coverage, method
74%of lines run by tests

Fits the neighboring models of a fitted structural equation model and assesses the model uncertainty of the fitted model based on BIC posterior probabilities (BPP), using the method presented in Wu, Cheung, and Leung (2020) <doi:10.1080/00273171.2019.1574546>. See Pesigan, Cheung, Wu, Chang, and Leung (2026) <doi:10.3758/s13428-025-02921-x> for an introduction to the package.

Maintainer
Shu Fai Cheung
Licence
GPL (>= 3)
Latest release
18 Jul 2026
First release
21 Sep 2023

Compare with another package

More details
Releases
7
Needs compilation
No
Needs R
>= 4.1.0
Config/roxygen2/version
8.0.0
LazyData
true
Subjects (1) Method, Subjects
Cite

Package

Run in R for the authors' entry:

citation("modelbpp")

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

It points to 10.3758/s13428-025-02921-x.

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

From data release v2026-10-27, 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
    0.4.0
    Time taken
    167 s
  • r-devel-linux-x86_64-debian-gcc

    The unreleased R on Linux, x86_64, debian-gcc

    OK

    Version checked
    0.4.0
    Time taken
    114 s
  • r-devel-linux-x86_64-fedora-clang

    The unreleased R on Linux, x86_64, fedora-clang

    OK

    Version checked
    0.4.0
    Time taken
    121 s
  • r-devel-linux-x86_64-fedora-gcc

    The unreleased R on Linux, x86_64, fedora-gcc

    OK

    Version checked
    0.4.0
    Time taken
    108 s
  • r-devel-windows-x86_64

    The unreleased R on Windows, x86_64

    OK

    Version checked
    0.4.0
    Time taken
    198 s
  • r-oldrel-macos-arm64

    The previous release of R on macOS, arm64

    OK

    Version checked
    0.4.0
    Time taken
    44 s
  • r-oldrel-macos-x86_64

    The previous release of R on macOS, x86_64

    OK

    Version checked
    0.4.0
    Time taken
    203 s
  • r-oldrel-windows-x86_64

    The previous release of R on Windows, x86_64

    OK

    Version checked
    0.4.0
    Time taken
    242 s
  • r-patched-linux-x86_64

    The patched release of R on Linux, x86_64

    OK

    Version checked
    0.4.0
    Time taken
    151 s
  • r-release-linux-x86_64

    The current release of R on Linux, x86_64

    OK

    Version checked
    0.4.0
    Time taken
    149 s
  • r-release-macos-arm64

    The current release of R on macOS, arm64

    OK

    Version checked
    0.4.0
    Time taken
    42 s
  • r-release-macos-x86_64

    The current release of R on macOS, x86_64

    OK

    Version checked
    0.4.0
    Time taken
    200 s
  • r-release-windows-x86_64

    The current release of R on Windows, x86_64

    OK

    Version checked
    0.4.0
    Time taken
    186 s
  • 13 OK

Over time

No change since 5 Aug 2026

As a list (5)
ChangedWorst statusOKNotesWarningsErrors
5 Aug 2026OK13000
1 Aug 2026Note12100
9 Jun 2026OK13000
8 Jun 2026Error12001
10 Mar 2026OK14000

Since March 2026

Check results on CRAN

Total downloads in the last 30 days
283−22.5% down on the 30 days before, the worse directionIt is the sum of 3 channels: CRAN, r2u and autoCRAN.

CRAN rank

15,410 of 26,529

CRAN

275 downloads in the last 30 days

Rank
15,410 of 26,529
Change
−18.9% down on the 30 days before, the worse direction

It is in the total. Take it out

r2u

6 downloads in the last 30 days

Rank
8,522 of 30,526
Change
−14.3% down on the 30 days before, the worse direction

It is in the total. Take it out

autoCRAN

2 downloads in the last 30 days

Rank
22,388 of 29,212
Change
−89.5% down on the 30 days before, the worse direction

It is in the total. Take it out

Over time

Compare downloads

Needs
5
Dependent packages
1
Suggested by
0
Needs (5)
Installing it adds
31 packages, 28.1 MB of source
Of those, need compilation
12
Optional extras (3)
Dependent packages (1)
PackageTitleDownloads in 30 days
semeqmodelsEquivalent Models in Structural Equation Models496
Functions
105
Public exports
15
Lines of R code
5,965
Median complexity
2
Functions (105)
Size and composition

Lines by kind (11,238)

KindLinesShare
R code5,96553%
Tests40.0%
Documentation2,32921%
Guides2,94026%

Lines by language

LanguageLinesShare
R5,96953%
Rd2,32921%
Other2,31521%
Vignettes6256%

Languages are counted from file extensions.

Files
109
R functions
105
Object systems
S3: 6 methods
Complexity
Median
2
Mean
4.72
Highest
43
Median lines per function
19
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
105
Calls
100
Unconnected
19
Groups
4
Growth (7 releases)
Total lines by release
6,319 on 21 Sep 202311,238 on 18 Jul 2026
Release changes

The tests ran and coverage was measured.

Lines run by tests
73.8%
Expressions run by tests
72.1%
Test cases
167
Exports named in tests
0%
Coverage by file (22)
Coverage run
Lines counted
2,433
Lines the tests ran
1,796
Tests passed
Yes
Measured with
covr 3.6.5 on R 4.6.1
Test suite
Has tests
Yes
Test frameworks
tinytest
Test cases
167
Lines of tests
4
Test lines per line of code
0
Exports documented
100%
Arguments documented
96.6%
Return value documented
100%
Help pages with examples
66.7%
Examples run in checks
100%
Guides (1)
Other documentation
README
Yes, 233 words
Release notes file
Yes
Help pages
21
Lines of documentation
2,329
DatasetSizeColumns
dat_cfaA Sample Dataset Based On a Confirmatory Factor Analysis Model (For Testing)200 × 6x1, x2, x3, x4, x5, x6
dat_path_modelA Sample Dataset Based on a Path Model (For Testing)100 × 4x1, x2, x3, x4
dat_path_model_p06A Sample Dataset Based On a Complex Path Model (For Testing)200 × 6x1, x2, x3, y4, y5, y6
dat_semA Sample Dataset Based On a Structural Model (For Testing)250 × 16x1, x2, x3, x4, x6, x5 and 10 more
dat_serial_4A Sample Dataset Based On a Serial Mediation Model (For Testing)100 × 4x, m1, m2, y
dat_serial_4_weakA Sample Dataset Based On a Serial Mediation Model With Weak Paths (For Testing)100 × 4x, m1, m2, y

sfcheung / modelbpp on github.com

Stars
0
Forks
0
Open issues
0
Last commit
18 Oct 2026
Activity
Commits
366
Open pull requests
0
Tagged releases
5
Latest tagged release
v0.4.0, 18 Jul 2026
In development
Default branch at 0.4.0.1, ahead of CRAN 0.4.0 (checked 2026-10-25)
Issues closed in
–
Pull requests closed in
0 days (median)
Pull requests merged
99%
Created
18 Jun 2023
Licence file reads as
GPL-3.0
Development practices (8)
KindFound
Continuous integrationGitHub Actions, R CMD check workflow
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
Docs sourcepkgdown
GitHub Pages site last deployed 2026-10-18
The repository has a site deploy workflow
pkgdown site last built 2026-10-18
Reproducibility and dev environmentdata-raw/
Lint, format, editorlintr, VS Code

Method, repository practices

Across sfcheung

R releases
  • On CRAN
  • Release
VersionReleasedR
0.4.0 current18 Jul 20264.6.1
0.3.012 May 20264.6.0
0.2.01 Mar 20264.5.2
0.1.624 Sep 20254.5.1
0.1.516 Sep 20244.4.1
0.1.320 Feb 20244.3.2
0.1.221 Sep 20234.3.1
Release notes (0.4.0)

Miscellaneous

  • In get_add() and get_drop(), the representation will switch to RAM if LISREL fails. (0.3.0.1)
  • If the option modelbpp.do_fit is set to FALSE or not set, a parameter table will not be fitted to get the model *df*, leading to faster search. If this options is set to TRUE, then the parameter table will be fitted as in 0.3.0.2 or older version. (0.3.0.2, 0.3.0.3)
  • Disabled more options to make the search faster. (0.3.0.3)
  • Depends on R 4.1.0 or later now. (0.3.0.2)
  • Slightly improved the speed by using an internal variant of lavaan::parameterTable(). (0.3.0.4)
  • Added the option to use an internal function instead of lavaan::update(). Disabled by default. Enable it by setting the option modelbpp.use_pt_add_only to TRUE. Only applicable for models without constraints. (0.3.0.4, 0.3.0.5)
  • In fit_many(), removed the printing of expected CPU time because the estimate is not reliable. (0.3.0.6)