From 79ab2e73343fa3e3135bd13a6fdbcc8654f9ac79 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Fri, 18 Dec 2015 14:03:26 +0100 Subject: [PATCH 03/17] gnu: Add r-xml. * gnu/packages/statistics.scm (r-xml): New variable. --- gnu/packages/statistics.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm index 95aebdf..03fe218 100644 --- a/gnu/packages/statistics.scm +++ b/gnu/packages/statistics.scm @@ -1536,3 +1536,28 @@ supporting FTP/FTPS/TFTP (uploads and downloads), SSL/HTTPS, telnet, dict, ldap, and also supports cookies, redirects, authentication, etc.") (license license:bsd-3))) +(define-public r-xml + (package + (name "r-xml") + (version "3.98-1.3") + (source (origin + (method url-fetch) + (uri (cran-uri "XML" version)) + (sha256 + (base32 + "0j9ayp8a35g0227a4zd8nbmvnbfnj5w687jal6qvj4lbhi3va7sy")))) + (properties + `((upstream-name . "XML"))) + (build-system r-build-system) + (inputs + `(("libxml2" ,libxml2))) + (propagated-inputs + `(("r-rcurl" ,r-rcurl))) + (home-page "http://www.omegahat.org/RSXML") + (synopsis "Tools for parsing and generating XML within R") + (description + "Many approaches for both reading and creating XML (and HTML) +documents (including DTDs), both local and accessible via HTTP or FTP. Also +offers access to an XPath \"interpreter\".") + (license license:bsd-2))) + -- 2.1.0