Subject: [bug#39416] [PATCH 18/34] gnu: Add package r-semtools

From: Lars-Dominik Braun <[email-masked]>
Date: Tue, 4 Feb 2020 14:56:10 +0100

* gnu/packages/cran.scm (r-semtools): New variable.
---
 gnu/packages/cran.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index d318f2a33e..100d9bd4dd 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -19730,3 +19730,25 @@ equation models (with observed and latent variables) using the RAM approach,
 and for fitting structural equations in observed-variable models by two-stage
 least squares.")
     (license license:gpl2+)))
+
+(define-public r-semtools
+  (package
+    (name "r-semtools")
+    (version "0.5-2")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (cran-uri "semTools" version))
+        (sha256
+          (base32
+            "1zj841pszfsikzp82cmh463qyc4xhdrqjqcnhc2r8mcflv12irv6"))))
+    (properties `((upstream-name . "semTools")))
+    (build-system r-build-system)
+    (propagated-inputs `(("r-lavaan" ,r-lavaan)))
+    (home-page
+      "https://github.com/simsem/semTools/wiki")
+    (synopsis
+      "Useful Tools for Structural Equation Modeling")
+    (description
+      "This package provides useful tools for structural equation modeling.")
+    (license license:gpl2+)))
-- 
2.20.1