* [PATCH 11/19] gnu: Add r-knitr.
@ 2015-09-13 16:51 Vicente Vera
2015-09-14 11:17 ` Ricardo Wurmus
0 siblings, 1 reply; 6+ messages in thread
From: Vicente Vera @ 2015-09-13 16:51 UTC (permalink / raw)
To: guix-devel
[-- Attachment #1: Type: text/plain, Size: 1 bytes --]
[-- Attachment #2: 0011-gnu-Add-r-knitr.patch --]
[-- Type: text/x-patch, Size: 1707 bytes --]
From 36f94f07cba5edea4897ac36b92a73bfc6a3258b Mon Sep 17 00:00:00 2001
From: Vicente Vera Parra <vicentemvp@gmail.com>
Date: Sun, 13 Sep 2015 13:20:29 -0300
Subject: [PATCH 11/19] gnu: Add r-knitr.
* gnu/packages/statistics.scm (r-knitr): New variable.
---
gnu/packages/statistics.scm | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index 9ac08d8..65ca528 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -705,3 +705,29 @@ See http://en.wikipedia.org/wiki/Markdown for more information about
"This package implements the libyaml YAML 1.1 parser and
emitter (http://pyyaml.org/wiki/LibYAML) for R.")
(license license:bsd-3)))
+
+(define-public r-knitr
+ (package
+ (name "r-knitr")
+ (version "1.11")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "mirror://cran/src/contrib/knitr_"
+ version ".tar.gz"))
+ (sha256
+ (base32 "1ikjla0hnpjfkdbydqhhqypc0aiizbi4nyn8c694sdk9ca4jasdd"))))
+ (build-system r-build-system)
+ (propagated-inputs
+ `(("r-evaluate" ,r-evaluate)
+ ("r-digest" ,r-digest)
+ ("r-formatr" ,r-formatr)
+ ("r-highr" ,r-highr)
+ ("r-markdown" ,r-markdown)
+ ("r-stringr" ,r-stringr)
+ ("r-yaml" ,r-yaml)))
+ (home-page "http://yihui.name/knitr/")
+ (synopsis "General-Purpose Package for Dynamic Report Generation in R")
+ (description
+ "Provides a general-purpose tool for dynamic report generation in
+R using Literate Programming techniques.")
+ (license license:gpl3+)))
--
2.5.1
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [PATCH 11/19] gnu: Add r-knitr.
2015-09-13 16:51 [PATCH 11/19] gnu: Add r-knitr Vicente Vera
@ 2015-09-14 11:17 ` Ricardo Wurmus
2015-09-14 20:06 ` Vicente Vera
0 siblings, 1 reply; 6+ messages in thread
From: Ricardo Wurmus @ 2015-09-14 11:17 UTC (permalink / raw)
To: Vicente Vera; +Cc: guix-devel
Hi Vicente,
> From 36f94f07cba5edea4897ac36b92a73bfc6a3258b Mon Sep 17 00:00:00 2001
> From: Vicente Vera Parra <vicentemvp@gmail.com>
> Date: Sun, 13 Sep 2015 13:20:29 -0300
> Subject: [PATCH 11/19] gnu: Add r-knitr.
> * gnu/packages/statistics.scm (r-knitr): New variable.
[...]
> + (synopsis "General-Purpose Package for Dynamic Report Generation in R")
> + (description
> + "Provides a general-purpose tool for dynamic report generation in
> +R using Literate Programming techniques.")
As before, please provide a better description (at least by replacing
“Provides” in the first sentence with “This package provides”); and use
lower-case in the synopsis.
> + (license license:gpl3+)))
I don’t think this is correct. The package actually doesn’t declare the
version of the GPL. There are no license headers I could find and all
it says is
“This package is free and open source software, licensed under GPL.”
Furthermore, as noted before, there might be a license conflict when
combining “r-knitr” with “r-markdown”, because the latter is released
under “GPLv2 only”.
I just asked the author about what version of the GPL was intended
here[1].
~~ Ricardo
[1]: https://github.com/yihui/knitr/issues/566#issuecomment-140042571
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH 11/19] gnu: Add r-knitr.
2015-09-14 11:17 ` Ricardo Wurmus
@ 2015-09-14 20:06 ` Vicente Vera
2015-09-15 17:41 ` Vicente Vera
2015-09-16 9:51 ` Ricardo Wurmus
0 siblings, 2 replies; 6+ messages in thread
From: Vicente Vera @ 2015-09-14 20:06 UTC (permalink / raw)
To: Ricardo Wurmus; +Cc: guix-devel
[-- Attachment #1: Type: text/plain, Size: 1711 bytes --]
Hello,
I'm not sure if it's correct, but I changed the license from gpl3+ to
gpl2+ to keep it consistent with the r-markdown package
(https://www.gnu.org/licenses/gpl-faq.html#v2v3Compatibility). Thanks
for figuring that out.
New patch attached.
2015-09-14 8:17 GMT-03:00 Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de>:
> Hi Vicente,
>
>> From 36f94f07cba5edea4897ac36b92a73bfc6a3258b Mon Sep 17 00:00:00 2001
>> From: Vicente Vera Parra <vicentemvp@gmail.com>
>> Date: Sun, 13 Sep 2015 13:20:29 -0300
>> Subject: [PATCH 11/19] gnu: Add r-knitr.
>
>> * gnu/packages/statistics.scm (r-knitr): New variable.
>
> [...]
>
>> + (synopsis "General-Purpose Package for Dynamic Report Generation in R")
>> + (description
>> + "Provides a general-purpose tool for dynamic report generation in
>> +R using Literate Programming techniques.")
>
> As before, please provide a better description (at least by replacing
> “Provides” in the first sentence with “This package provides”); and use
> lower-case in the synopsis.
>
>> + (license license:gpl3+)))
>
> I don’t think this is correct. The package actually doesn’t declare the
> version of the GPL. There are no license headers I could find and all
> it says is
>
> “This package is free and open source software, licensed under GPL.”
>
> Furthermore, as noted before, there might be a license conflict when
> combining “r-knitr” with “r-markdown”, because the latter is released
> under “GPLv2 only”.
>
> I just asked the author about what version of the GPL was intended
> here[1].
>
> ~~ Ricardo
>
> [1]: https://github.com/yihui/knitr/issues/566#issuecomment-140042571
[-- Attachment #2: 0011-gnu-Add-r-knitr.patch --]
[-- Type: text/x-patch, Size: 1728 bytes --]
From b0090d8e9236595ad72b337168a08eb9369840ca Mon Sep 17 00:00:00 2001
From: Vicente Vera Parra <vicentemvp@gmail.com>
Date: Mon, 14 Sep 2015 16:05:24 -0300
Subject: [PATCH 11/12] gnu: Add r-knitr.
* gnu/packages/statistics.scm (r-knitr): New variable.
---
gnu/packages/statistics.scm | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index 9794908..e1f16d5 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -700,3 +700,29 @@ http://en.wikipedia.org/wiki/Markdown for more information about Markdown.")
"This package implements the libyaml YAML 1.1 parser and
emitter (http://pyyaml.org/wiki/LibYAML) for R.")
(license license:bsd-3)))
+
+(define-public r-knitr
+ (package
+ (name "r-knitr")
+ (version "1.11")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "mirror://cran/src/contrib/knitr_"
+ version ".tar.gz"))
+ (sha256
+ (base32 "1ikjla0hnpjfkdbydqhhqypc0aiizbi4nyn8c694sdk9ca4jasdd"))))
+ (build-system r-build-system)
+ (propagated-inputs
+ `(("r-evaluate" ,r-evaluate)
+ ("r-digest" ,r-digest)
+ ("r-formatr" ,r-formatr)
+ ("r-highr" ,r-highr)
+ ("r-markdown" ,r-markdown)
+ ("r-stringr" ,r-stringr)
+ ("r-yaml" ,r-yaml)))
+ (home-page "http://yihui.name/knitr/")
+ (synopsis "General-purpose package for dynamic report generation in R")
+ (description
+ "This package provides a general-purpose tool for dynamic report
+generation in R using Literate Programming techniques.")
+ (license license:gpl2+)))
--
2.5.2
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [PATCH 11/19] gnu: Add r-knitr.
2015-09-14 20:06 ` Vicente Vera
@ 2015-09-15 17:41 ` Vicente Vera
2015-09-16 9:51 ` Ricardo Wurmus
1 sibling, 0 replies; 6+ messages in thread
From: Vicente Vera @ 2015-09-15 17:41 UTC (permalink / raw)
To: Ricardo Wurmus; +Cc: guix-devel
[-- Attachment #1: Type: text/plain, Size: 1858 bytes --]
Updated patch attached.
2015-09-14 17:06 GMT-03:00 Vicente Vera <vicentemvp@gmail.com>:
> Hello,
>
> I'm not sure if it's correct, but I changed the license from gpl3+ to
> gpl2+ to keep it consistent with the r-markdown package
> (https://www.gnu.org/licenses/gpl-faq.html#v2v3Compatibility). Thanks
> for figuring that out.
>
> New patch attached.
>
> 2015-09-14 8:17 GMT-03:00 Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de>:
>> Hi Vicente,
>>
>>> From 36f94f07cba5edea4897ac36b92a73bfc6a3258b Mon Sep 17 00:00:00 2001
>>> From: Vicente Vera Parra <vicentemvp@gmail.com>
>>> Date: Sun, 13 Sep 2015 13:20:29 -0300
>>> Subject: [PATCH 11/19] gnu: Add r-knitr.
>>
>>> * gnu/packages/statistics.scm (r-knitr): New variable.
>>
>> [...]
>>
>>> + (synopsis "General-Purpose Package for Dynamic Report Generation in R")
>>> + (description
>>> + "Provides a general-purpose tool for dynamic report generation in
>>> +R using Literate Programming techniques.")
>>
>> As before, please provide a better description (at least by replacing
>> “Provides” in the first sentence with “This package provides”); and use
>> lower-case in the synopsis.
>>
>>> + (license license:gpl3+)))
>>
>> I don’t think this is correct. The package actually doesn’t declare the
>> version of the GPL. There are no license headers I could find and all
>> it says is
>>
>> “This package is free and open source software, licensed under GPL.”
>>
>> Furthermore, as noted before, there might be a license conflict when
>> combining “r-knitr” with “r-markdown”, because the latter is released
>> under “GPLv2 only”.
>>
>> I just asked the author about what version of the GPL was intended
>> here[1].
>>
>> ~~ Ricardo
>>
>> [1]: https://github.com/yihui/knitr/issues/566#issuecomment-140042571
[-- Attachment #2: 0011-gnu-Add-r-knitr.patch --]
[-- Type: text/x-patch, Size: 1760 bytes --]
From 730f8b640d70e9693bce65ded47ba91d4b6af233 Mon Sep 17 00:00:00 2001
From: Vicente Vera Parra <vicentemvp@gmail.com>
Date: Tue, 15 Sep 2015 14:20:13 -0300
Subject: [PATCH 11/19] gnu: Add r-knitr.
* gnu/packages/statistics.scm (r-knitr): New variable.
---
gnu/packages/statistics.scm | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index 050a507..e5b71f9 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -731,3 +731,32 @@ http://en.wikipedia.org/wiki/Markdown for more information about Markdown.")
"This package implements the libyaml YAML 1.1 parser and
emitter (http://pyyaml.org/wiki/LibYAML) for R.")
(license license:bsd-3)))
+
+(define-public r-knitr
+ (package
+ (name "r-knitr")
+ (version "1.11")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "mirror://cran/src/contrib/knitr_"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "1ikjla0hnpjfkdbydqhhqypc0aiizbi4nyn8c694sdk9ca4jasdd"))))
+ (build-system r-build-system)
+ (propagated-inputs
+ `(("r-evaluate" ,r-evaluate)
+ ("r-digest" ,r-digest)
+ ("r-formatr" ,r-formatr)
+ ("r-highr" ,r-highr)
+ ("r-markdown" ,r-markdown)
+ ("r-stringr" ,r-stringr)
+ ("r-yaml" ,r-yaml)))
+ (home-page
+ "http://yihui.name/knitr/")
+ (synopsis
+ "General-purpose package for dynamic report generation in R")
+ (description
+ "This package provides a general-purpose tool for dynamic report
+generation in R using Literate Programming techniques.")
+ (license license:gpl2+)))
--
2.5.2
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [PATCH 11/19] gnu: Add r-knitr.
2015-09-14 20:06 ` Vicente Vera
2015-09-15 17:41 ` Vicente Vera
@ 2015-09-16 9:51 ` Ricardo Wurmus
2015-09-22 15:08 ` Ludovic Courtès
1 sibling, 1 reply; 6+ messages in thread
From: Ricardo Wurmus @ 2015-09-16 9:51 UTC (permalink / raw)
To: Vicente Vera; +Cc: guix-devel
Hi Vicente,
> I'm not sure if it's correct, but I changed the license from gpl3+ to
> gpl2+ to keep it consistent with the r-markdown package
> (https://www.gnu.org/licenses/gpl-faq.html#v2v3Compatibility). Thanks
> for figuring that out.
actually, the author responded and said that “GPL” in the package’s
DESCRIPTION file just means “any GPL version”. Here’s the comment:
https://github.com/yihui/knitr/issues/566#issuecomment-140095735
The licensing guidelines for R packages state that
“Abbreviations GPL and LGPL are ambiguous and usually taken to mean
any version of the license”
In this case “gpl2+” is probably correct, but you may want to add a
comment above the ‘(license ...)’ expression to state that any GPL
version may be picked by users here.
What do others think?
~~ Ricardo
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2015-09-22 15:08 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-13 16:51 [PATCH 11/19] gnu: Add r-knitr Vicente Vera
2015-09-14 11:17 ` Ricardo Wurmus
2015-09-14 20:06 ` Vicente Vera
2015-09-15 17:41 ` Vicente Vera
2015-09-16 9:51 ` Ricardo Wurmus
2015-09-22 15:08 ` Ludovic Courtès
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).