Subject: [PATCH] gnu: Add r-slam.

From: pimi <[email-masked]>
Date: Tue, 21 Aug 2018 14:51:57 +0200

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

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index b541f1c32..69591decd 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -8,6 +8,7 @@
 ;;; Copyright © 2018 Sandeep Subramanian <[email-masked]>
 ;;; Copyright © 2018 Charlie Ritter <[email-masked]>
 ;;; Copyright © 2018 Konrad Hinsen <[email-masked]>
+;;; Copyright © 2018 Mădălin Ionel Patrașcu <[email-masked]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -4847,3 +4848,21 @@ differential equations} (ODE).  It includes routines that:
   approach).
 @end enumerate\n")
     (license license:gpl2+)))
+
+(define-public r-slam
+  (package
+    (name "r-slam")
+    (version "0.1-43")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "slam" version))
+       (sha256
+        (base32 "0hy4qzngcgafxxr6ld7n9a9wy979ji998gpcc32vidwyab66dj5h"))))
+    (build-system r-build-system)
+    (home-page "https://cran.r-project.org/web/packages/slam/")
+    (synopsis "Sparse lightweight arrays and matrices")
+    (description
+     "This package contains data structures and algorithms for sparse arrays and matrices,
+based on index arrays and simple triplet representations, respectively.")
+    (license license:gpl2)))
-- 
2.17.1