unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [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

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