From: Vicente Vera <vicentemvp@gmail.com>
To: guix-devel@gnu.org, Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de>
Subject: Re: [PATCH 15/19] gnu: Add r-memoise.
Date: Tue, 15 Sep 2015 14:44:44 -0300 [thread overview]
Message-ID: <CAMfbzvCMQOp6ncHfZeSMxoeAwqh0wGMdA5Oviwno+tFmNw3iNw@mail.gmail.com> (raw)
In-Reply-To: <CAMfbzvCuSr8-2DTzV=zFf49+zDorqWjaucgqqL1S-4Y=gyKJ+w@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 91 bytes --]
Updated patch attached.
2015-09-13 13:53 GMT-03:00 Vicente Vera <vicentemvp@gmail.com>:
>
[-- Attachment #2: 0015-gnu-Add-r-memoise.patch --]
[-- Type: text/x-patch, Size: 1539 bytes --]
From 6e1c3b2598da36af3a1c34af1b9a48df865d6711 Mon Sep 17 00:00:00 2001
From: Vicente Vera Parra <vicentemvp@gmail.com>
Date: Tue, 15 Sep 2015 14:23:07 -0300
Subject: [PATCH 15/19] gnu: Add r-memoise.
* gnu/packages/statistics.scm (r-memoise): New variable.
---
gnu/packages/statistics.scm | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index 34f3423..2ad03c9 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -828,3 +828,26 @@ 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 (string-append "mirror://cran/src/contrib/memoise_"
+ version ".tar.gz"))
+ (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 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)))
--
2.5.2
prev parent reply other threads:[~2015-09-15 17:44 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-13 16:53 [PATCH 15/19] gnu: Add r-memoise Vicente Vera
2015-09-15 17:44 ` Vicente Vera [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAMfbzvCMQOp6ncHfZeSMxoeAwqh0wGMdA5Oviwno+tFmNw3iNw@mail.gmail.com \
--to=vicentemvp@gmail.com \
--cc=guix-devel@gnu.org \
--cc=ricardo.wurmus@mdc-berlin.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).