diff mbox series

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

Message ID 875zinmeq7.fsf@guixSD.i-did-not-set--mail-host-address--so-tickle-me
State Accepted
Headers show
Series [bug#34697,1/3] gnu: Add r-xmlparsedata. | expand

Commit Message

Nicolò Balzarotti Dec. 11, 2019, 8:19 a.m. UTC
* gnu/packages/cran.scm (r-xmlparsedata): New variable.
---
 gnu/packages/cran.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)
diff mbox series

Patch

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")