From a4d9def0f63e42d90517845b9013bb6a560a0b49 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Thu, 26 Nov 2015 16:59:29 +0100 Subject: [PATCH 2/5] gnu: Add r-readr. * gnu/packages/statistics.scm (r-readr): New variable. --- gnu/packages/statistics.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm index 876a2b3..0d8eb08 100644 --- a/gnu/packages/statistics.scm +++ b/gnu/packages/statistics.scm @@ -1286,3 +1286,25 @@ aggregation of large data (e.g. 100GB in RAM), fast ordered joins, fast add/modify/delete of columns by group using no copies at all, list columns and a fast file reader (@code{fread}).") (license license:gpl3+))) + +(define-public r-readr + (package + (name "r-readr") + (version "0.2.2") + (source (origin + (method url-fetch) + (uri (cran-uri "readr" version)) + (sha256 + (base32 + "156422xwvskynna5kjc8h1qqnn50kxgjrihl2h2b7vm9sxxdyr2m")))) + (build-system r-build-system) + (propagated-inputs + `(("r-curl" ,r-curl) + ("r-rcpp" ,r-rcpp) + ("r-bh" ,r-bh))) + (home-page "https://github.com/hadley/readr") + (synopsis "Read tabular data") + (description + "This package provides functions to read flat or tabular text files from +disk (or a connection).") + (license license:gpl2+))) -- 2.1.0