Subject: [bug#34697] [PATCH 1/3] gnu: Add r-xmlparsedata.

From: Nicolò Balzarotti <[email-masked]>
Date: Wed, 11 Dec 2019 09:19:47 +0100

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

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 11d254001f..0a878dc340 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -14695,6 +14695,29 @@ they are often difficult to interpret.  Rex allows you to build complex
 regular expressions from human readable expressions")
     (license license:expat)))
 
+(define-public r-xmlparsedata
+  (package
+    (name "r-xmlparsedata")
+    (version "1.0.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "xmlparsedata" version))
+       (sha256
+        (base32
+         "0gjr3l5z5dp276lchr2649as1rkj56d2mlvbr66yg393zzw50lsh"))))
+    (properties `((upstream-name . "xmlparsedata")))
+    (build-system r-build-system)
+    (home-page
+     "https://github.com/r-lib/xmlparsedata#readme")
+    (synopsis
+     "Parse Data of @code{R} Code as an @code{XML} Tree")
+    (description
+     "Convert the output of @code{utils::getParseData()} to an @code{XML}
+tree, that one can search via @code{XPath}, and easier to manipulate in
+general.")
+    (license license:expat)))
+
 (define-public r-sctransform
   (package
     (name "r-sctransform")
-- 
2.24.0