Subject: [3/8] Add r-tidyverse (r-readxl)

From: Charlie Ritter <[email-masked]>
Date: Mon, 12 Mar 2018 11:11:36 -0400

From 5d35b9316967d6c54055c25c09286b132020ea1d Mon Sep 17 00:00:00 2001
From: Charlie Ritter <[email-masked]>
Date: Mon, 12 Mar 2018 10:03:44 -0400
Subject: [PATCH] gnu: Add r-readxl.

* gnu/packages/cran.scm (r-readxl): New variable.
---
 gnu/packages/cran.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 7760b26c5..09463e395 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -34,6 +34,31 @@
   #:use-module (gnu packages statistics)
   #:use-module (gnu packages web))
 
+(define-public r-readxl
+  (package
+    (name "r-readxl")
+    (version "1.0.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "readxl" version))
+       (sha256
+        (base32
+         "1bf7gxw9r11m4llyymplxiaa4gzgyj4bwmwad5in756pzq3jzmpv"))))
+    (build-system r-build-system)
+    (propagated-inputs
+     `(("r-cellranger" ,r-cellranger)
+       ("r-rcpp" ,r-rcpp)
+       ("r-tibble" ,r-tibble)))
+    (home-page "http://readxl.tidyverse.org")
+    (synopsis "Read Excel Files")
+    (description
+     "Import excel files into R.  Supports '.xls' via the embedded 'libxls' C
+library <https://sourceforge.net/projects/libxls/> and '.xlsx' via the
+embedded 'RapidXML' C++ library <https://rapidxml.sourceforge.net>.  Works on
+Windows, Mac and Linux without external dependencies.")
+    (license license:gpl3)))
+
 (define-public r-modelr
   (package
     (name "r-modelr")
-- 
2.16.1