rekado pushed a commit to branch master
in repository guix.
commit 7e10056b6bea8d3c43cff1948073d1e24c63e197
Author: Ricardo Wurmus <[email protected]>
Date: Mon Aug 31 15:27:56 2015 +0200
gnu: Add r-plyr.
* gnu/packages/statistics.scm (r-plyr): New variable.
---
gnu/packages/statistics.scm | 23 +++++++++++++++++++++++
1 files changed, 23 insertions(+), 0 deletions(-)
diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index 0da3b82..6ba75b7 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -291,3 +291,26 @@ about Rcpp is provided by several vignettes included in
this package, via the
and Francois (2011, JSS), and the book by Eddelbuettel (2013, Springer); see
'citation(\"Rcpp\")' for details on these last two.")
(license license:gpl2+)))
+
+(define-public r-plyr
+ (package
+ (name "r-plyr")
+ (version "1.8.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "mirror://cran/src/contrib/plyr_"
+ version ".tar.gz"))
+ (sha256
+ (base32 "06v4zxawpjz37rp2q2ii5q43g664z9s29j4ydn0cz3crn7lzl6pk"))))
+ (build-system r-build-system)
+ (native-inputs `(("r-rcpp" ,r-rcpp)))
+ (home-page "http://had.co.nz/plyr")
+ (synopsis "Tools for Splitting, Applying and Combining Data")
+ (description
+ "Plyr is a set of tools that solves a common set of problems: you need to
+break a big problem down into manageable pieces, operate on each piece and
+then put all the pieces back together. For example, you might want to fit a
+model to each spatial location or time point in your study, summarise data by
+panels or collapse high-dimensional arrays to simpler summary statistics.")
+ (license license:expat)))