From ecf9923d276b2a5e2889c1bab049fe6ffbf01957 Mon Sep 17 00:00:00 2001 From: Lars-Dominik Braun Date: Mon, 16 Nov 2020 13:01:13 +0100 Subject: [PATCH 6/9] gnu: Add r-diagrammer. * gnu/packages/cran.scm (r-diagrammer): New variable. --- gnu/packages/cran.scm | 45 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index 7b6338df0f..e567cc8c2b 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -24805,3 +24805,48 @@ mediation and estimating power.") library. It allows an interactive visualization of networks.") (license license:expat))) +(define-public r-diagrammer + (package + (name "r-diagrammer") + (version "1.0.6.1") + (source + (origin + (method url-fetch) + (uri (cran-uri "DiagrammeR" version)) + (sha256 + (base32 + "0gb7ccdrh7jlyqafdk8zs465ygczxxd25s05whn914in1994qkmy")))) + (properties `((upstream-name . "DiagrammeR"))) + (build-system r-build-system) + (propagated-inputs + `(("r-downloader" ,r-downloader) + ("r-dplyr" ,r-dplyr) + ("r-glue" ,r-glue) + ("r-htmltools" ,r-htmltools) + ("r-htmlwidgets" ,r-htmlwidgets) + ("r-igraph" ,r-igraph) + ("r-influencer" ,r-influencer) + ("r-magrittr" ,r-magrittr) + ("r-purrr" ,r-purrr) + ("r-rcolorbrewer" ,r-rcolorbrewer) + ("r-readr" ,r-readr) + ("r-rlang" ,r-rlang) + ("r-rstudioapi" ,r-rstudioapi) + ("r-scales" ,r-scales) + ("r-stringr" ,r-stringr) + ("r-tibble" ,r-tibble) + ("r-tidyr" ,r-tidyr) + ("r-viridis" ,r-viridis) + ("r-visnetwork" ,r-visnetwork))) + (native-inputs `(("r-knitr" ,r-knitr))) + (home-page "https://github.com/rich-iannone/DiagrammeR") + (synopsis "Graph/Network Visualization") + (description + "Build graph/network structures using functions for stepwise addition +and deletion of nodes and edges. Work with data available in tables for bulk +addition of nodes, edges, and associated metadata. Use graph selections and +traversals to apply changes to specific nodes or edges. A wide selection of +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))) + -- 2.25.1