Development

Installing the development version of lavaan

If you have not installed lavaan before, first install the current version of lavaan and all of its dependencies. Then, to install the latest development version of lavaan, you can type at the R prompt:

library(remotes)
remotes::install_github("yrosseel/lavaan")

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

install.packages("lavaan")

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

lavaan source code

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:

https://github.com/yrosseel/lavaan

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