Installing the development version of lavaan

To install the latest development version of lavaan, start up R and type

install.packages("lavaan", repos="", type="source")

To make sure you are using the newly installed version of lavaan, restart your R session. If you want to revert to the official (CRAN) version of lavaan again, simply type


and you will back to the official version. Again, you may need to restart your R session.


All development of lavaan happens on GitHub. If you want to download (or clone) the lavaan source code, or if you simply want to browse through the source code, go to the lavaan github page:

If you click on the commits tab, you can see all the recent changes that have been committed.

Development notes

Here, I will publish some notes that document important changes from version to version (or perhaps possible changes that are not implemented yet). I welcome any comments or suggestions on these notes.

Future plans

Version 0.5 is already fairly complete, but new features (mostly related to categorical data) are still added. In particular, we are working on 1) implementing marginal ML estimation for categorical SEM, 2) fine-tuning the PML estimator, 3) adding functions to assess the fit of SEM models when the data is categorical.

For version 0.6, some of the plans are:

Other plans for future releases: