summary refs log tree commit diff
diff options
context:
space:
mode:
authorMădălin Ionel Patrașcu <madalinionel.patrascu@mdc-berlin.de>2023-10-31 11:57:24 +0100
committerRicardo Wurmus <rekado@elephly.net>2023-10-31 13:58:08 +0100
commitb538ce0c60efaa7bacec1cbf7d28b28fdf209aaa (patch)
tree8ff93604fd2366cc4df3d54c5bbd3ae558e31309
parent91ba3ea8ebe9ea79a889b89cd6e532fce1f00d13 (diff)
downloadguix-b538ce0c60efaa7bacec1cbf7d28b28fdf209aaa.tar.gz
gnu: Add r-relations.
* gnu/packages/cran.scm (r-relations): New variable.

Change-Id: I4bf67353aa7f7221592d274d61c74b83191a6281
-rw-r--r--gnu/packages/cran.scm21
1 files changed, 21 insertions, 0 deletions
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 0381bc6015..3aa0868679 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -3516,6 +3516,27 @@ convenience functions useful for using CSS selectors on XML nodes.  This
 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")