unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [PATCH 05/19] gnu: Add r-evaluate.
@ 2015-09-13 16:47 Vicente Vera
  2015-09-14 10:57 ` Ricardo Wurmus
  0 siblings, 1 reply; 4+ messages in thread
From: Vicente Vera @ 2015-09-13 16:47 UTC (permalink / raw)
  To: guix-devel

[-- Attachment #1: Type: text/plain, Size: 1 bytes --]



[-- Attachment #2: 0005-gnu-Add-r-evaluate.patch --]
[-- Type: text/x-patch, Size: 1552 bytes --]

From c386e31fc1b2ae45c52a6a4314f6993498f3a76b Mon Sep 17 00:00:00 2001
From: Vicente Vera Parra <vicentemvp@gmail.com>
Date: Sun, 13 Sep 2015 13:10:35 -0300
Subject: [PATCH 05/19] gnu: Add r-evaluate.

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

diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index 54cbb42..d34020f 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -578,3 +578,23 @@ among CRAN package. 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 that Provide More Details than the Default")
+    (description
+     "Parsing and evaluation tools that make it easy to recreate the
+command line behaviour of R.")
+    (license license:gpl3+)))
-- 
2.5.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH 05/19] gnu: Add r-evaluate.
  2015-09-13 16:47 [PATCH 05/19] gnu: Add r-evaluate Vicente Vera
@ 2015-09-14 10:57 ` Ricardo Wurmus
  2015-09-14 19:47   ` Vicente Vera
  0 siblings, 1 reply; 4+ messages in thread
From: Ricardo Wurmus @ 2015-09-14 10:57 UTC (permalink / raw)
  To: Vicente Vera; +Cc: guix-devel


> * 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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH 05/19] gnu: Add r-evaluate.
  2015-09-14 10:57 ` Ricardo Wurmus
@ 2015-09-14 19:47   ` Vicente Vera
  2015-09-15 17:34     ` Vicente Vera
  0 siblings, 1 reply; 4+ messages in thread
From: Vicente Vera @ 2015-09-14 19:47 UTC (permalink / raw)
  To: Ricardo Wurmus; +Cc: guix-devel

[-- Attachment #1: Type: text/plain, Size: 1404 bytes --]

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.wurmus@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

[-- Attachment #2: 0005-gnu-Add-r-evaluate.patch --]
[-- Type: text/x-patch, Size: 1721 bytes --]

From 068eccba79d8908a859c1b565a86d0677c1d823d Mon Sep 17 00:00:00 2001
From: Vicente Vera Parra <vicentemvp@gmail.com>
Date: Mon, 14 Sep 2015 14:50:31 -0300
Subject: [PATCH 05/12] gnu: Add r-evaluate.

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

diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index 1efacde..e041986 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -576,3 +576,25 @@ 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


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH 05/19] gnu: Add r-evaluate.
  2015-09-14 19:47   ` Vicente Vera
@ 2015-09-15 17:34     ` Vicente Vera
  0 siblings, 0 replies; 4+ messages in thread
From: Vicente Vera @ 2015-09-15 17:34 UTC (permalink / raw)
  To: Ricardo Wurmus; +Cc: guix-devel

[-- Attachment #1: Type: text/plain, Size: 1542 bytes --]

Updated patch attached.

2015-09-14 16:47 GMT-03:00 Vicente Vera <vicentemvp@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.wurmus@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

[-- Attachment #2: 0005-gnu-Add-r-evaluate.patch --]
[-- Type: text/x-patch, Size: 1753 bytes --]

From 685339b25e3db26cc6e8b98e10fb652a287fbe4c Mon Sep 17 00:00:00 2001
From: Vicente Vera Parra <vicentemvp@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


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-09-15 17:35 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-09-13 16:47 [PATCH 05/19] gnu: Add r-evaluate Vicente Vera
2015-09-14 10:57 ` Ricardo Wurmus
2015-09-14 19:47   ` Vicente Vera
2015-09-15 17:34     ` Vicente Vera

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).