guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

15/20: gnu: Add r-memoise.


From: Ricardo Wurmus
Subject: 15/20: gnu: Add r-memoise.
Date: Mon, 21 Sep 2015 08:49:00 +0000

rekado pushed a commit to branch master
in repository guix.

commit b668a95cf3104bedcb629f107b1c75e31ccfae91
Author: Vicente Vera Parra <address@hidden>
Date:   Tue Sep 15 14:23:07 2015 -0300

    gnu: Add r-memoise.
    
    * gnu/packages/statistics.scm (r-memoise): New variable.
---
 gnu/packages/statistics.scm |   20 ++++++++++++++++++++
 1 files changed, 20 insertions(+), 0 deletions(-)

diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index a3710e0..1a99a09 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -769,3 +769,23 @@ the execution time of R expressions.")
      "This package provides useful tools to pry back the covers of R and
 understand the language at a deeper level.")
     (license license:gpl2)))
+
+(define-public r-memoise
+  (package
+    (name "r-memoise")
+    (version "0.2.1")
+    (source (origin
+              (method url-fetch)
+              (uri (cran-uri "memoise" version))
+              (sha256
+               (base32
+                "19wm4b3kq6xva43kga3xydnl7ybl5mq7b4y2fczgzzjz63jd75y4"))))
+    (build-system r-build-system)
+    (propagated-inputs
+     `(("r-digest" ,r-digest)))
+    (home-page "http://github.com/hadley/memoise";)
+    (synopsis "Memoise functions for R")
+    (description
+     "This R package allows to cache the results of a function so that when
+you call it again with the same arguments it returns the pre-computed value.")
+    (license license:expat)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]