Updated patch attached.

2015-09-14 16:47 GMT-03:00 Vicente Vera <vicente...@gmail.com>:
> Hi,
>
> Sure, once the upgraded package is available at CRAN the corresponding
> changes will be added. Thank you for the heads up.
>
> New patch attached.
>
> 2015-09-14 7:57 GMT-03:00 Ricardo Wurmus <ricardo.wur...@mdc-berlin.de>:
>>
>>> * gnu/packages/statistics.scm (r-evaluate): New variable.
>>
>> [...]
>>
>>> +    (synopsis "Parsing and Evaluation Tools that Provide More Details
>>> than the Default")
>>
>> This synopsis is a bit long (and again: please use lower case).  How
>> about
>>
>>   “Parsing and evaluation tools for R”?
>>
>>> +    (description
>>> +     "Parsing and evaluation tools that make it easy to recreate the
>>> +command line behaviour of R.")
>>
>> This description is a little short.  What about using the description
>> derived from the README in the repository:
>>
>>   “Evaluate provides tools that allow you to recreate the parsing,
>>   evaluation and display of R code, with enough information that you can
>>   accurately recreate what happens at the command line.  The tools can
>>   easily be adapted for other output formats, such as HTML or LaTeX.”
>>
>>> +    (license license:gpl3+)))
>>
>> According to LICENSE on Github[1] this package is release under the
>> “MIT” license (= Expat?) since version 0.7.3 (you packaged 0.7.2).  This
>> should be noted when you prepare a new patch and decide to upgrade to
>> the latest version.
>>
>> ~~ Ricardo
From 685339b25e3db26cc6e8b98e10fb652a287fbe4c Mon Sep 17 00:00:00 2001
From: Vicente Vera Parra <vicente...@gmail.com>
Date: Tue, 15 Sep 2015 14:15:55 -0300
Subject: [PATCH 05/19] gnu: Add r-evaluate.

* gnu/packages/statistics.scm (r-evaluate): New variable.
---
 gnu/packages/statistics.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index 5801ce6..7b02267 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -589,3 +589,28 @@ for template use among CRAN packages.  By placing these libraries in this
 package, we offer a more efficient distribution system for CRAN as replication
 of this code in the sources of other packages is avoided.")
     (license license:boost1.0)))
+
+(define-public r-evaluate
+  (package
+    (name "r-evaluate")
+    (version "0.7.2")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "mirror://cran/src/contrib/evaluate_"
+                                  version ".tar.gz"))
+              (sha256
+               (base32
+                "0r4jl32d817w9472l7a240w3aip5h7v0vw7byvkwqwv8gnx8r7xv"))))
+    (build-system r-build-system)
+    (propagated-inputs
+     `(("r-stringr" ,r-stringr)))
+    (home-page
+     "https://github.com/hadley/evaluate";)
+    (synopsis
+     "Parsing and evaluation tools for R")
+    (description
+     "This package provides tools that allow you to recreate the parsing,
+evaluation and display of R code, with enough information that you can
+accurately recreate what happens at the command line.  The tools can easily be
+adapted for other output formats, such as HTML or LaTeX.")
+    (license license:gpl3+)))
-- 
2.5.2

Reply via email to