Subject: [bug#39416] [PATCH 28/34] gnu: Add package r-d3network

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

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

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index d006c3d663..c56d7315b8 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -20021,3 +20021,29 @@ Mohammadi and Wit (2019) <doi:10.18637/jss.v089.i03>.")
       "This package provides functions and datasets for maximum likelihood
 fitting of some classes of graphical Markov models.")
     (license license:gpl2+)))
+
+(define-public r-d3network
+  (package
+    (name "r-d3network")
+    (version "0.5.2.1")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (cran-uri "d3Network" version))
+        (sha256
+          (base32
+            "1gh979z9wksyxxxdzlfzibn0ysvf6h1ij7vwpd55fvbwr308syaw"))))
+    (properties `((upstream-name . "d3Network")))
+    (build-system r-build-system)
+    (propagated-inputs
+      `(("r-plyr" ,r-plyr)
+        ("r-rjson" ,r-rjson)
+        ("r-whisker" ,r-whisker)))
+    (home-page
+      "http://christophergandrud.github.io/d3Network/")
+    (synopsis
+      "Create D3 JavaScript network, tree, dendrogram, and Sankey graphs")
+    (description
+      "This packages is intended to make it easy to create D3 JavaScript
+network, tree, dendrogram, and Sankey graphs from R using data frames.")
+    (license license:gpl3+)))
-- 
2.20.1