Subject: [PATCH 1/2] gnu: Add r-rearrr.

From: Mădălin Ionel Patrașcu<[email-masked]>
Date: Tue, 23 Apr 2024 15:32:08 +0200

* gnu/packages/cran.scm (r-rearrr): New variable.

Change-Id: I41e06b24e565a4070f570b7fd5c656f185aacfa9
---
 gnu/packages/cran.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index ee0aac7f7a..83ba5f2a0d 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -4259,6 +4259,35 @@ (define-public r-readxl
     ;; 'rapidxml' which is Boost.
     (license (list license:gpl3 license:bsd-2 license:boost1.0))))
 
+(define-public r-rearrr
+  (package
+    (name "r-rearrr")
+    (version "0.3.4")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "rearrr" version))
+       (sha256
+        (base32 "1inx1gikiqxaf6a8g10b02l1qs2y0zxs2yrxn6dyx9n6xlra3rnr"))))
+    (properties `((upstream-name . "rearrr")))
+    (build-system r-build-system)
+    (propagated-inputs (list r-checkmate
+                             r-dplyr
+                             r-lifecycle
+                             r-plyr
+                             r-purrr
+                             r-r6
+                             r-rlang
+                             r-tibble))
+    (home-page "https://github.com/ludvigolsen/rearrr")
+    (synopsis "Rearranging data by a set of methods")
+    (description
+     "This package arranges data by a set of methods.  It uses rearrangers to
+reorder data points and mutators to change their values.  From basic utilities,
+to centering the greatest value, to swirling in 3-dimensional space, rearrr
+enables creativity when plotting and experimenting with data.")
+    (license license:expat)))
+
 (define-public r-model4you
   (package
     (name "r-model4you")

base-commit: 2d19e505f6f9f82aebc9ba8c74ba223818acd9bc
-- 
2.41.0