From 6bf8cfb004441ae75e2ca93075ae7a1d0a9799aa Mon Sep 17 00:00:00 2001 From: Lars-Dominik Braun Date: Mon, 16 Nov 2020 13:01:50 +0100 Subject: [PATCH 7/9] gnu: Add r-lavaanplot. * gnu/packages/cran.scm (r-lavaanplot): New variable. --- gnu/packages/cran.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index e567cc8c2b..4a7c1535f4 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -24850,3 +24850,31 @@ graph algorithms allow for the analysis of graphs. Visualize the graphs and take advantage of any aesthetic properties assigned to nodes and edges.") (license license:expat))) +(define-public r-lavaanplot + (package + (name "r-lavaanplot") + (version "0.5.1") + (source + (origin + (method url-fetch) + (uri (cran-uri "lavaanPlot" version)) + (sha256 + (base32 + "01bx1snd3zhc8dmq0f407qhw2d00f6d38qpr791qc1mq5kr3d8qj")))) + (properties `((upstream-name . "lavaanPlot"))) + (build-system r-build-system) + (propagated-inputs + `(("r-diagrammer" ,r-diagrammer) + ("r-lavaan" ,r-lavaan) + ("r-stringr" ,r-stringr))) + (native-inputs `(("r-knitr" ,r-knitr))) + (home-page "https://github.com/alishinski/lavaanPlot") + (synopsis "Path Diagrams for Lavaan Models via DiagrammeR") + (description + "Plots path diagrams from models in lavaan using the plotting +functionality from the DiagrammeR package. DiagrammeR provides nice path +diagrams via Graphviz, and these functions make it easy to generate these +diagrams from a lavaan path model without having to write the DOT language +graph specification.") + (license license:gpl2+))) + -- 2.25.1