Skip to content

INLAvaan

0.3.1

Approximate Bayesian Latent Variable Analysis

0packages depend
2Kdownloads / year
94.9%test coverage
13/13checks pass

Overview

About
Maintained by Haziq JamilFirst published 2026-01-276 releasesCRAN page ↗GitHub ↗

Implements approximate Bayesian inference for Structural Equation Models (SEM) using a custom adaptation of the Integrated Nested Laplace Approximation (Rue et al., 2009) doi:10.1111/j.1467-9868.2008.00700.x as described in Jamil and Rue (2026a) doi:10.48550/arXiv.2603.25690. Provides a computationally efficient alternative to Markov Chain Monte Carlo (MCMC) for Bayesian estimation, allowing users to fit latent variable models using the 'lavaan' syntax. See also the companion paper on implementation and workflows, Jamil and Rue (2026b) doi:10.48550/arXiv.2604.00671.

Install

Health

CRAN checks
13OK
Slowest check: 12.4 min · r-oldrel-macos-x86_64
Code health
Yes
Tests · ratio 0.44
94.9%
Coverage · measured lines
100%
Documentation · exports
7
Dependencies · direct
Check history
  • OK2026-08-05
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-08-01
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-07-25
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-07-13
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 552 wordsVignettesNopkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
47%
Documented parameters
92%
Return-value docs
100%
References docs
9%

Downloads

2K
CRAN downloads in the past year
Rank #12,095 · ~6/day · ~170/mo
Daily download trend is not available in this view yet.
20730 days
83890 days
2K1 year
Compare downloads with other packages →
Also on149 r2u25 autocran

Repository

Repository
14Stars
1Forks
8Open issues
1Open PRs
7Releases
653Commits
2Contributors
bayesian-inferencefactor-analysisinlapsychometricsstatistical-modelingstructural-equation-modelingbayesian-statisticsgrowth-curve-models
License GPL-3.0 · 653 commits · Last activity 2026-08-17

Releases over time

2026-07-14 · 62026-07-22 · 7

Repository practices

Upstream repositoryBeta

6 development-tooling and community-health practices detected across 6 families in the upstream repository

Checks run against github.com/haziqj/inlavaan on 2026-08-23.

Continuous integration (1)
GitHub Actions
Reproducibility and dev environment (1)
data-raw/
CRAN release process (1)
cran-comments.md
Docs source (1)
README.Rmd
Show all practices
Lint, format, editor (1)
RStudio project
Coverage (1)
Codecov
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
12 external dependencies (excludes base and recommended)
Depends (1)
R >= 3.5
Imports (7)
cligraphicslavaanmethodsparallelstatsutils
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

People & History

People (3)
Maintainer (1)
Author, Maintainer, Copyright holder
Authors (1)
Author, Maintainer, Copyright holder
Contributors (2)
Contributor
Contributor
Copyright holders (1)
Author, Maintainer, Copyright holder
Package Timeline

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

  • 0.3.1Latest
    2026-07-22 · current release · diff ↗
  • 0.3.0
    2026-07-11 · diff ↗
  • 0.2.5
    2026-06-11 · diff ↗
  • R
    R 4.6.0 released · 2026-04-24
  • 0.2.4
    2026-04-03 · diff ↗
  • 0.2.3
    2026-01-28 · diff ↗
  • 0.2.2
    2026-01-27
  • R
    R 4.5.0 released · 2025-04-11

Package metadata

First published
2026-01-27
Total releases
6 / 1 yrs
License
GPL (>= 3) OSI
Minimum R
≥ 3.5
Download size
1.9 MB
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("INLAvaan")
Jamil, H., Bong, A., & Rue, H. (2026). INLAvaan: Approximate Bayesian Latent Variable Analysis (Version 0.3.1) [Computer software]. https://doi.org/10.32614/CRAN.package.INLAvaan

This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.

Cite the 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 INLAvaan version 0.3.1 [Data set]. HJJB, LLC. Data release v2026-08-23. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-23, which the citation names so these numbers can be found later. More on citing and the projects behind them.

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