Subject: [bug#51513] [PATCH 1/3] gnu: Add r-alluvial.

From: Mădălin Ionel Patrașcu<[email-masked]>
Date: Sat, 30 Oct 2021 17:55:04 +0200

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

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 792ea2a75b..0e79ea0ef2 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -7070,6 +7070,26 @@ (define-public r-algdesign
 and within plot factors interact.")
     (license license:gpl2+)))
 
+(define-public r-alluvial
+(package
+  (name "r-alluvial")
+  (version "0.1-2")
+  (source
+    (origin
+      (method url-fetch)
+      (uri (cran-uri "alluvial" version))
+      (sha256
+        (base32 "039frwrsxq1lb97s7vf2vbyyadimkigs628ymym06fxka53drdkp"))))
+  (properties `((upstream-name . "alluvial")))
+  (build-system r-build-system)
+  (native-inputs `(("r-knitr" ,r-knitr)))
+  (home-page "https://github.com/mbojan/alluvial")
+  (synopsis "Creating parallel sets plots (Alluvial Diagrams)")
+  (description
+    "The package @code{r-alluvial} creates alluvial diagrams (also known as
+parallel sets plots) for multivariate and time series-like data.")
+  (license license:expat)))
+
 (define-public r-signal
   (package
     (name "r-signal")
-- 
2.33.0