summary refs log tree commit diff
path: root/gnu/packages/cran.scm
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2019-07-30 15:51:42 +0200
committerRicardo Wurmus <rekado@elephly.net>2019-07-30 15:51:42 +0200
commitcf51d895f3b13a501e0f1b592fac79a7bb16e49f (patch)
tree479adf03869a93610facf9dfe2d490f611bc18f3 /gnu/packages/cran.scm
parent0b2883e1f61a5e29068c1eaa6d74dd1eb1f26049 (diff)
downloadguix-cf51d895f3b13a501e0f1b592fac79a7bb16e49f.tar.gz
gnu: Add r-matrix-utils.
* gnu/packages/cran.scm (r-matrix-utils): New variable.
Diffstat (limited to 'gnu/packages/cran.scm')
-rw-r--r--gnu/packages/cran.scm25
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 0f77cde5ae..787aa01bc0 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -138,6 +138,31 @@ functions, including @code{sort}, @code{order}, and @code{match}.  The
 functions are simplified but can be faster or have other advantages.")
     (license license:gpl3)))
 
+(define-public r-matrix-utils
+  (package
+    (name "r-matrix-utils")
+    (version "0.9.7")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "Matrix.utils" version))
+       (sha256
+        (base32
+         "1x64r4aj3gy1dzjjysyrk1j9jq3qsnyrqws8i6bs7q8pf6gvr7va"))))
+    (properties `((upstream-name . "Matrix.utils")))
+    (build-system r-build-system)
+    (propagated-inputs
+     `(("r-grr" ,r-grr)
+       ("r-matrix" ,r-matrix)))
+    (home-page "https://github.com/cvarrichio/Matrix.utils")
+    (synopsis
+     "Data.frame-Like Operations on Sparse and Dense Matrix Objects")
+    (description
+     "This package implements data manipulation methods such as @code{cast},
+@code{aggregate}, and @code{merge}/@code{join} for Matrix and Matrix-like
+objects.")
+    (license license:gpl3)))
+
 (define-public r-sys
   (package
     (name "r-sys")