From 9567bd8dd9d092ac4bfdf9abfc35263e39146e26 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Sun, 8 Sep 2019 00:18:03 +0200 Subject: gnu: Add r-tidygraph. * gnu/packages/cran.scm (r-tidygraph): New variable. --- gnu/packages/cran.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index ac528468cb..19aa0522b1 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -15300,3 +15300,36 @@ (define-public r-graphlayouts . Some more specific algorithms allow to emphasize hidden group structures in networks or focus on specific nodes.") (license license:expat))) + +(define-public r-tidygraph + (package + (name "r-tidygraph") + (version "1.1.2") + (source + (origin + (method url-fetch) + (uri (cran-uri "tidygraph" version)) + (sha256 + (base32 + "1zpsarm74afbc7p5dlyb0whc09670qdcddw1ckb25cfc9hfh0hjn")))) + (properties `((upstream-name . "tidygraph"))) + (build-system r-build-system) + (propagated-inputs + `(("r-dplyr" ,r-dplyr) + ("r-igraph" ,r-igraph) + ("r-magrittr" ,r-magrittr) + ("r-pillar" ,r-pillar) + ("r-r6" ,r-r6) + ("r-rcpp" ,r-rcpp) + ("r-rlang" ,r-rlang) + ("r-tibble" ,r-tibble) + ("r-tidyr" ,r-tidyr))) + (home-page "https://github.com/thomasp85/tidygraph") + (synopsis "Tidy API for graph manipulation") + (description + "This package provides a graph implementation that can be thought of as +two tidy data frames describing node and edge data respectively. It provides +an approach to manipulate these two virtual data frames using the API defined +in the @code{dplyr} package, and it also provides tidy interfaces to a lot of +common graph algorithms.") + (license license:expat))) -- cgit v1.2.3