Specifying 'lavaan' models manually can be time consuming when multiple similar models are required. The 'semFromKeys' package streamlines the process of running 'lavaan' models by generating model code from simple keys lists and running entire collections of models at once. The package was inspired by the process used in the code for Bainbridge, T. F., Ludeke, S. G., & Smillie, L. D. (2022) <doi:10.1037/pspp0000395>. The package also optionally checks that identical models have not been run on the same data, which saves time when code needs to be run again.
| Version: | 0.2.2 |
| Depends: | R (≥ 3.6.0) |
| Imports: | stringr, lavaan, openssl, withr, tools |
| Suggests: | testthat (≥ 3.0.0), here, rstudioapi |
| Published: | 2026-07-24 |
| DOI: | 10.32614/CRAN.package.semFromKeys (may not be active yet) |
| Author: | Timothy F. Bainbridge [aut, cre, cph] |
| Maintainer: | Timothy F. Bainbridge <tfbainbridge at gmail.com> |
| BugReports: | https://github.com/timbainbridge/semFromKeys/issues |
| License: | GPL (≥ 3) |
| URL: | https://github.com/timbainbridge/semFromKeys |
| NeedsCompilation: | no |
| Citation: | semFromKeys citation info |
| Materials: | README, NEWS |
| CRAN checks: | semFromKeys results |
| Reference manual: | semFromKeys.html , semFromKeys.pdf |
| Package source: | semFromKeys_0.2.2.tar.gz |
| Windows binaries: | r-devel: not available, r-release: not available, r-oldrel: not available |
| macOS binaries: | r-release (arm64): not available, r-oldrel (arm64): not available, r-release (x86_64): not available, r-oldrel (x86_64): not available |
Please use the canonical form https://CRAN.R-project.org/package=semFromKeys to link to this page.