unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [PATCH 06/19] gnu: Add r-formatr.
@ 2015-09-13 16:47 Vicente Vera
  2015-09-15 17:38 ` Vicente Vera
  0 siblings, 1 reply; 2+ 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: 0006-gnu-Add-r-formatr.patch --]
[-- Type: text/x-patch, Size: 1613 bytes --]

From e95da21a37d96a1eb8b427343ea50082398581a0 Mon Sep 17 00:00:00 2001
From: Vicente Vera Parra <vicentemvp@gmail.com>
Date: Sun, 13 Sep 2015 13:11:55 -0300
Subject: [PATCH 06/19] gnu: Add r-formatr.

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

diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index d34020f..672fcd2 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -598,3 +598,24 @@ this code in the sources of other packages is avoided.")
      "Parsing and evaluation tools that make it easy to recreate the
 command line behaviour of R.")
     (license license:gpl3+)))
+
+(define-public r-formatr
+  (package
+    (name "r-formatr")
+    (version "1.2")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "mirror://cran/src/contrib/formatR_"
+                                  version ".tar.gz"))
+              (sha256
+               (base32 "0dlj728qdm7wmxcxvw1ip64pl4ajgmi8ax69zafrn3306pg9y136"))))
+    (build-system r-build-system)
+    (home-page "http://yihui.name/formatR")
+    (synopsis "Format R Code Automatically")
+    (description
+     "Provides a function tidy_source() to format R source code. Spaces
+and indent will be added to the code automatically, and comments will
+be preserved under certain conditions, so that R code will be more
+human-readable and tidy. There is also a Shiny app as a user interface
+in this package (see tidy_app()).")
+    (license license:gpl3+)))
-- 
2.5.1


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

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

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-09-13 16:47 [PATCH 06/19] gnu: Add r-formatr Vicente Vera
2015-09-15 17:38 ` 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).