Subject: [bug#30781] [7/8] Add r-tidyverse (r-rvest)

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

From 01c74b79b3571aaf82f394d9cdc057a4121c81af Mon Sep 17 00:00:00 2001
From: Charlie Ritter <[email-masked]>
Date: Mon, 12 Mar 2018 11:03:41 -0400
Subject: [PATCH] gnu: Add r-rvest.

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

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 648906bf9..2a8bcc215 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -34,6 +34,30 @@
   #:use-module (gnu packages statistics)
   #:use-module (gnu packages web))
 
+(define-public r-rvest
+  (package
+    (name "r-rvest")
+    (version "0.3.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "rvest" version))
+       (sha256
+        (base32
+         "04mv99z8dixywx96kfy4215g6ib23s7qvd77hcf9pxqxzcvqhvhd"))))
+    (build-system r-build-system)
+    (propagated-inputs
+     `(("r-httr" ,r-httr)
+       ("r-magrittr" ,r-magrittr)
+       ("r-selectr" ,r-selectr)
+       ("r-xml2" ,r-xml2)))
+    (home-page "https://github.com/hadley/rvest")
+    (synopsis "Easily Harvest (Scrape) Web Pages")
+    (description
+     "Wrappers around the 'xml2' and 'httr' packages to make it easy to
+download, then manipulate, HTML and XML.")
+    (license license:gpl3)))
+
 (define-public r-selectr
   (package
     (name "r-selectr")
-- 
2.16.1