Skip to content

semTools

Useful Tools for Structural Equation Modeling

v0.5-8 · Feb 13, 2026 · GPL (>= 2)

Description

Provides miscellaneous tools for structural equation modeling, many of which extend the 'lavaan' package. For example, latent interactions can be estimated using product indicators (Lin et al., 2010, <doi:10.1080/10705511.2010.488999>) and simple effects probed; analytical power analyses can be conducted (Jak et al., 2021, <doi:10.3758/s13428-020-01479-0>); and scale reliability can be estimated based on estimated factor-model parameters.

Downloads

CRAN

19.6K

Last 30 days

820th

66.1K

Last 90 days

247K

Last year

Trend: -21.4% (30d vs prior 30d)

r2u CRAN

54

Last 30 days

152

Last 90 days

415

Last year

Trend: +74.2% (30d vs prior 30d)

autoCRAN

45

Last 7 days

274

Last 30 days

20

All-time

⚠ Shared name: this package is also shipped elsewhere on openSUSE, so this count is not exclusive to autoCRAN (it is an upper bound).

conda-forge CRAN

254

Last 30 days

678

Last 90 days

3.4K

Last year

Trend: -18.1% (30d vs prior 30d)

CRAN Check Status

13 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 9, 2026
ERROR 12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Jun 8, 2026
ERROR r-devel-linux-x86_64-debian-gcc

examples

Running massageExamples to create ‘semTools-Ex.R’ failed
Error in file(out, "wt") : cannot open the connection
Calls: <Anonymous> -> Rd2ex -> file
In addition: Warning message:
In file(out, "wt") :
  cannot open file '/tmp/Rtmp8130n8/file20febe4a7a92d7/mardiaSkew.R': No space left on device
Execution halted
 NONE
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Code

Structure

Lines of code

36,094

Files

133

Compiled share

0%

Has compiled src

No

Language breakdown

R 26,488 (73.4%)Docs 9,422 (26.1%)Vignettes 184 (0.5%)

API

Exported functions

69

Internal functions

120

Recent export changes

v2.15.3+14 fmi, findRMSEApowernested, findRMSEAsamplesizenested +11 more
v2.15.1+6 measurementInvariance, moreFitIndices, skew +3 more

Testing & CI

Has tests

No

Test-to-code ratio

0.00

testthat edition

CI present

No

CI type

[]

PR gated

No

Docs

Return-value doc rate

86%

\dontrun example ratio

2.9%

Roxygen coverage

100%

Has pkgdown

No

NEWS present

Yes

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

14.3%

Unsafe pattern score

21

Dep constraint coverage

16.7%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

4.0

System requirements

C++ standard

License

GPL (>= 2)

License flags

SPDX valid, OSI approved

History

Versions

30

First release

2012-05-17

Latest release

2026-02-14

Avg cadence

66 days

Cold removal rate

100%

Dep drift

5

LOC over versions

v2.15.1: 1,057 LOCv0.1-0: 1,057 LOCv0.2-0: 4,381 LOCv0.2-6: 5,292 LOCv0.2-7: 5,294 LOCv0.2-8: 5,339 LOCv2.15.2: 5,339 LOCv0.2-11: 5,972 LOCv0.2-12: 5,972 LOCv2.15.3: 9,648 LOCv0.3-0: 9,648 LOCv0.3-2: 9,798 LOCv3.0.0: 9,798 LOCv0.4-0: 10,589 LOCv3.0.1: 10,589 LOCv0.4-6: 15,373 LOCv0.4-9: 16,272 LOCv0.4-11: 18,829 LOCv0.4-12: 20,923 LOCv0.4-13: 21,326 LOCv0.4-14: 20,062 LOCv0.5-0: 30,237 LOCv0.5-1: 32,524 LOCv0.5-2: 34,906 LOCv0.5-3: 37,847 LOCv0.5-4: 37,998 LOCv0.5-5: 39,127 LOCv0.5-6: 41,746 LOCv0.5-7: 42,322 LOCv0.5-8: 36,094 LOC

Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/cran-code-metrics.

Reverse Dependencies (16)

depends

Dependency Network

Dependencies Reverse dependencies lavaan pbivnorm RSAtools FAfA MBESS conmet kfa manymome pwr2ppl semdrw silp PsychoMatic blavaan mnonr powerNLSEM quest semhelpinghands +1 more reverse deps semTools

Version History

26 tracked
new 0.5-8 Mar 10, 2026
updated 0.5-8 ← 0.5-7 diff Feb 13, 2026
updated 0.5-7 ← 0.5-6 diff Mar 12, 2025
updated 0.5-6 ← 0.5-5 diff May 9, 2022
updated 0.5-5 ← 0.5-4 diff Jul 6, 2021
updated 0.5-4 ← 0.5-3 diff Jan 10, 2021
updated 0.5-3 ← 0.5-2 diff May 26, 2020
updated 0.5-2 ← 0.5-1 diff Aug 29, 2019
updated 0.5-1 ← 0.5-0 diff Sep 23, 2018
updated 0.5-0 ← 0.4-14 diff Jun 26, 2018
updated 0.4-14 ← 0.4-13 diff Oct 21, 2016
updated 0.4-13 ← 0.4-12 diff Sep 5, 2016
updated 0.4-12 ← 0.4-11 diff Jun 9, 2016
updated 0.4-11 ← 0.4-9 diff Feb 29, 2016
updated 0.4-9 ← 0.4-6 diff Jun 28, 2015