[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

10/43: gnu: Add r-tidyr.

From: Ricardo Wurmus
Subject: 10/43: gnu: Add r-tidyr.
Date: Tue, 26 Apr 2016 15:06:41 +0000

rekado pushed a commit to branch master
in repository guix.

commit 94b7e9b7b4d03a5dd42b6514c346062ea0f198a1
Author: Ricardo Wurmus <address@hidden>
Date:   Wed Apr 20 14:14:17 2016 +0200

    gnu: Add r-tidyr.
    * gnu/packages/statistics.scm (r-tidyr): 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 781620c..44553d5 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -2413,6 +2413,35 @@ black-and-white.  They are also designed to be perceived 
by readers with the
 most common form of color blindness.")
     (license license:x11)))
+(define-public r-tidyr
+  (package
+    (name "r-tidyr")
+    (version "0.4.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "tidyr" version))
+       (sha256
+        (base32
+         "0xp6lyr2l4ix2mrilx4qmca7wm5qmbhvi24m4nf7qsgwp54gnv2h"))))
+    (build-system r-build-system)
+    (propagated-inputs
+     `(("r-dplyr" ,r-dplyr)
+       ("r-lazyeval" ,r-lazyeval)
+       ("r-magrittr" ,r-magrittr)
+       ("r-rcpp" ,r-rcpp)
+       ("r-stringi" ,r-stringi)))
+    (home-page "";)
+    (synopsis "Tidy data with `spread()` and `gather()` functions")
+    (description
+     "tidyr is a reframing of the reshape2 package designed to accompany the
+tidy data framework, and to work hand-in-hand with magrittr and dplyr to build
+a solid pipeline for data analysis.  It is designed specifically for tidying
+data, not the general reshaping that reshape2 does, or the general aggregation
+that reshape did.  In particular, built-in methods only work for data frames,
+and tidyr provides no margins or aggregation.")
+    (license license:expat)))
 (define-public r-plotly
     (name "r-plotly")

reply via email to

[Prev in Thread] Current Thread [Next in Thread]