Subject: [bug#66843] [PATCH 06/11] gnu: Add r-relations.

From: Mădălin Ionel Patrașcu<[email-masked]>
Date: Tue, 31 Oct 2023 11:57:24 +0100

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

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

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index b4770f8a53..ef43771f47 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -3456,6 +3456,27 @@ (define-public r-selectr
 package is a port of the Python package @code{cssselect}.")
     (license license:bsd-3)))
 
+(define-public r-relations
+  (package
+    (name "r-relations")
+    (version "0.6-13")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "relations" version))
+       (sha256
+        (base32 "1nnr0kcr3whbwzi36sg7wn46jp7r0hfkvcwlybvjsjhczcvc6ngq"))))
+    (properties `((upstream-name . "relations")))
+    (build-system r-build-system)
+    (propagated-inputs (list r-cluster r-sets r-slam))
+    (home-page "https://cran.r-project.org/package=relations")
+    (synopsis "Data structures and algorithms for relations")
+    (description
+     "This package provides data structures and algorithms for k-ary relations
+with arbitrary domains, featuring relational algebra, predicate functions, and
+fitters for consensus relations.")
+    (license license:gpl2)))
+
 (define-public r-repmis
   (package
     (name "r-repmis")
-- 
2.41.0