Skip to content

lavaan

0.7-3Package record

Latent Variable Analysis

165packages dependsuggested by 64
986.1Kdownloads / year
–test coverage
13/13flavors OK

Overview

About

Fit a variety of latent variable models, including confirmatory factor analysis, structural equation modeling and latent growth curve models.

Install

Health

CRAN checks
13OK
Slowest check: 10.7 min · r-devel-linux-x86_64-debian-clang
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 0.7-3
READMEYes · 146 wordsVignettesNoNEWSNoCitation fileYes · cites a publicationWebsiteYes
Cites a JSS article
Help pages
70
Examples that run
95%62 run in a plain check · 3 never run
Exported functions with examples
95%
Documented parameters
94%
Return-value docs
65%
Help pages citing references
41%

Downloads

986.1K
CRAN downloads in the past year
Rank #392 · ~2.7K/day · ~82.2K/mo
Daily download trend is not available in this view yet.
81.9K30 days
227.2K90 days
986.1K1 year
Compare downloads with other packages →
Also on6.8K r2u223 autocran10.3K conda_forge380 c2d4u

Repository

515Stars
123Forks
6Open issues
0Open PRs
0Releases
3,338Commits
38Commit identities
structural-equation-modelinglatent-variablesfactor-analysisgrowth-curve-modelspath-analysismultilevel-modelsmultivariate-analysispsychometrics
License file reads as GPL-3.0 · 3,338 commits · Last activity 2026-10-18 · +0.4% stars, 30d · Default branch at 0.7-3.3308, ahead of CRAN 0.7-3 (checked 2026-10-11)
Responsiveness
How these are sampled
PRs merged (all time)
91%
Median days to close, 50 most recently updated closed issues
46
Median days to close, 50 most recently updated closed PRs
0

Stars over time

2025-10-08 · 4742026-10-13 · 515
PracticesBeta

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

Checks run against github.com/yrosseel/lavaan on 2026-10-11.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Governance and community (2)
Code of conductContributing guide
Git structural (1)
.gitattributes
How this is detected·Detection ruleset v3 (2026-09-26)
AI coding toolsBeta

This repository shows signs of AI coding tools.

  • Claude Codefirst seen 2026-03-17
    Named in .Rbuildignore: .claude, CLAUDE.md
    Named in .gitignore: .claude, CLAUDE.md
    Commits: at least 432 crediting it in the message
Models named in its commits
  • Claude Opus 4.899 commits · Jun 2026
  • Claude Fable 515 commits · Aug to Sep 2026
  • Claude Sonnet 4.61 commit · Jun 2026

Some of these counts are a minimum, because the search stopped before the oldest commits.

Counts are commits, not lines of code. Commits by a tool's accounts count once across all of its accounts. Commits crediting it are the largest count among its credit lines, a minimum.How this is detected·Detection ruleset v4 (updated 2026-09-27)

Dependencies

Declared dependencies
4 external dependencies (excludes base and recommended)

Installing lavaan adds 4 packages (3 with compiled code, 180 KB of source tarballs). Heaviest: numDeriv 74 KB, mnormt 63 KB, quadprog 35 KB.

Depends (1)
R >= 3.4
Imports (12)
methodsparallelstats4statsutilsgraphicsgrDevicesMASSmnormtpbivnormnumDerivquadprog
LinkingTo (0)
none
Suggests (0)
none
Enhances (0)
none

Datasets

People & History

People (17)
Author, Maintainer since 0.5-9 (2012)
Contributor · added in 0.5-15
Contributor
Contributor · added in 0.6-18
Contributor · added in 0.6-8
Contributor · added in 0.5-10
Contributor · added in 0.6-17
Contributor · added in 0.5-10
Contributor
Show 6 more contributorsHide 6 contributors
Contributor
Contributor · added in 0.5-10
Contributor
Contributor · added in 0.6-4
Listed in earlier versions (5)
Show 5 peopleHide 5 people
Michael Chow
no longer listed · 0.5-23.1097 to 0.6-3
Terrence Jorgensen
no longer listed · 0.5-23.1097
Jorgensen
no longer listed · 0.6-1 to 0.7-3
Rockwood
no longer listed · 0.6-7 to 0.7-3
De Wilde
no longer listed · 0.6-17 to 0.7-3
Releases (38)

Pick two releases to compare their code metrics.

  • 0.7-3Latest
    record
    2026-10-08 · current release · diff ↗ ·
    added 2 exports
    lavTestNET, lavH1
  • 0.7-2
    record
    2026-07-16 · diff ↗ ·
    added 60 exports
    lav_parse_options, lavEffects, lavResidualsY, lav_mat_dup_ginv_pre_post, lav_mat_ortho_complement, lav_func_grad_complex, lav_mat_dup_ginv_post, lav_func_grad_simple, lav_mat_vech_row_idx, lav_mat_vech_col_idx, lav_mat_antidiag_idx, lav_mat_dup_pre_post, lav_mat_dup_ginv_pre, lav_mat_com_pre_post, lav_pt_unrestricted, lav_pt_independence, lav_mat_vechru_idx, lav_mat_upper2full, lav_mat_lower2full, lav_mat_com_mn_pre, lav_samp_from_data, lav_mat_vechru_rev, lav_mat_vechr_idx, lav_mat_vechu_idx, lav_mat_diagh_idx, lav_pt_attributes, lav_mat_vechr_rev, lav_mat_vechu_rev, lav_mat_vech_idx, lav_mat_diag_idx and 30 more
  • R
    R 4.6.0 released · 2026-04-24
  • 0.6-21
    record
    2025-12-21 · diff ↗ ·
    removed 2 exports
    bootstrapLRT, InformativeTesting
    added 16 exports
    lav_getcov, lav_char2num, lav_cor2cov, lavParameterEstimates, lavInspectSampleCov, lavBootstrap, lavSimulateData, lav_mplus_lavaan, lav_mplus_syntax_model, lav_label_code, lav_model_plotinfo, lav_plotinfo_positions, lav_plotinfo_tikzcode, lav_plotinfo_rgraph, lav_plotinfo_svgcode, lav_plot
  • 0.6-20
    record
    2025-09-21 · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • 0.6-19
    record
    2024-09-26 · diff ↗
  • 0.6-18
    record
    2024-06-07 · diff ↗ ·
    added 2 exports
    lavPredictY_cv, lav_export_estimation
  • R
    R 4.4.0 released · 2024-04-24
  • 0.6-17
    record
    2023-12-20 · diff ↗
  • 0.6-16
    record
    2023-07-20 · diff ↗ ·
    added 2 exports
    lav_matrix_commutation_post, lav_matrix_commutation_pre_post
  • R
    R 4.3.0 released · 2023-04-21
  • 0.6-15
    record
    2023-03-14 · diff ↗
  • 0.6-14
    record
    2023-02-09 · diff ↗
  • 0.6-13
    record
    2023-01-09 · diff ↗ ·
    added 3 exports
    efa, lavTest, lavPredictY
  • 0.6-12
    record
    2022-07-04 · diff ↗
Show 38 earlier eventsHide 38 earlier events
  • R
    R 4.2.0 released · 2022-04-22
  • 0.6-11
    record
    2022-03-31 · diff ↗
  • 0.6-10
    record
    2022-01-25 · diff ↗
  • 0.6-9
    record
    2021-06-27 · diff ↗ ·
    added 1 export
    sam
  • R
    R 4.1.0 released · 2021-05-18
  • 0.6-8
    record
    2021-03-10 · diff ↗ ·
    removed 13 exports
    vech, vech.reverse, vechru, vechru.reverse, lower2full, vechr, vechr.reverse, vechu, vechu.reverse, upper2full, duplicationMatrix, commutationMatrix, sqrtSymmetricMatrix
    added 3 exports
    lav_partable_add, lav_data_update, lav_samplestats_from_data
  • 0.6-7
    record
    2020-07-31 · diff ↗
  • 0.6-6
    record
    2020-05-13 · diff ↗
  • R
    R 4.0.0 released · 2020-04-24
  • 0.6-5
    record
    2019-08-28 · diff ↗
  • 0.6-4
    record
    2019-07-03 · diff ↗
  • R
    R 3.6.0 released · 2019-04-26
  • 0.6-3
    record
    2018-09-23 · diff ↗ ·
    added 1 export
    lavResiduals
  • 0.6-2
    record
    2018-07-16 · diff ↗
  • 0.6-1
    record
    2018-05-22 · diff ↗ ·
    removed 1 export
    fsr
    added 1 export
    lav_matrix_cov
  • R
    R 3.5.0 released · 2018-04-23
  • R
    R 3.4.0 released · 2017-04-21
  • 0.5-23.1097
    record
    2017-02-24 · diff ↗ ·
    added 7 exports
    lavListInspect, lavListTech, lavOptions, mplus2lavaan.modelSyntax, lav_partable_constraints_def, lav_partable_constraints_ceq, lav_partable_constraints_ciq
  • 0.5-22
    record
    2016-09-24 · diff ↗
  • 0.5-21
    record
    2016-09-07 · diff ↗ ·
    added 5 exports
    lavaanList, cfaList, semList, fsr, lav_matrix_trace
  • R
    R 3.3.0 released · 2016-05-03
  • 0.5-20
    record
    2015-11-07 · diff ↗
  • 0.5-19
    record
    2015-10-03 · diff ↗ ·
    added 8 exports
    lavTestScore, lav_partable_complete, lav_partable_attributes, lav_partable_merge, lav_model_get_parameters, lav_model_set_parameters, lav_model_implied, lav_model_vcov_se
  • R
    R 3.2.0 released · 2015-04-16
  • 0.5-18
    record
    2015-04-06 · diff ↗ ·
    added 39 exports
    lavPredict, lav_matrix_vec, lav_matrix_vecr, lav_matrix_vech, lav_matrix_vechr, lav_matrix_vechu, lav_matrix_vechru, lav_matrix_vech_idx, lav_matrix_vech_row_idx, lav_matrix_vech_col_idx, lav_matrix_vechr_idx, lav_matrix_vechu_idx, lav_matrix_vechru_idx, lav_matrix_diag_idx, lav_matrix_diagh_idx, lav_matrix_antidiag_idx, lav_matrix_vech_reverse, lav_matrix_vechru_reverse, lav_matrix_upper2full, lav_matrix_vechr_reverse, lav_matrix_vechu_reverse, lav_matrix_lower2full, lav_matrix_duplication, lav_matrix_duplication_pre, lav_matrix_duplication_post, lav_matrix_duplication_pre_post, lav_matrix_duplication_ginv, lav_matrix_duplication_ginv_pre, lav_matrix_duplication_ginv_post, lav_matrix_duplication_ginv_pre_post and 9 more
  • 0.5-17
    record
    2014-09-30 · diff ↗ ·
    added 12 exports
    lavInspect, inspect, lavTech, lav_partable_independence, lav_partable_unrestricted, lav_partable_npar, lav_partable_ndat, lav_partable_df, lav_func_gradient_complex, lav_func_gradient_simple, lav_func_jacobian_complex, lav_func_jacobian_simple
  • R
    R 3.1.0 released · 2014-04-10
  • 0.5-16
    record
    2014-03-07 · diff ↗ ·
    added 6 exports
    lavTablesFitCp, lavTablesFitCf, lavTablesFitCm, lavTestLRT, lavTestWald, lavCor
  • 0.5-15
    record
    2013-11-15 · diff ↗
  • 0.5-14
    record
    2013-07-21 · diff ↗
  • 0.5-13
    record
    2013-05-11 · diff ↗ ·
    removed 1 export
    parseModelString
    added 7 exports
    lavParTable, lavNames, lavParseModelString, lavTables, lavExport, lavMatrixRepresentation, mplus2lavaan
  • R
    R 3.0.0 released · 2013-04-03
  • 0.5-12
    record
    2013-03-08 · diff ↗ ·
    added 2 exports
    estfun.lavaan, lavScores
  • 0.5-11
    record
    2012-12-19 · diff ↗
  • 0.5-10
    record
    2012-10-25 · diff ↗
  • 0.5-9
    record
    2012-09-08
  • removedRemoved from CRAN
    2012-09-07
    uncredited copying of code contrary to its licence
  • R
    R 2.15.0 released · 2012-03-30

Package metadata

First published
2012-09-08
Total releases
38 / 14 yrs
License
GPL (>= 2) OSI
Minimum R
≥ 3.4
Bundled data
213 KB / 4 files
Download size
1.6 MB

Cite

Cite this package

Run in R for the authors' entry:

citation("lavaan")

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

It points to 10.32614/cran.package.lavaan, 10.18637/jss.v048.i02.

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 lavaan version 0.7-3 [Data set]. HJJB, LLC. Data release v2026-10-18. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-18, 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