From 05faef5307e8b6c8e7e7aed0ec79a6b8bd6d18bf Mon Sep 17 00:00:00 2001 From: Vicente Vera Parra Date: Tue, 15 Sep 2015 14:19:33 -0300 Subject: [PATCH 10/19] gnu: Add r-yaml. * gnu/packages/statistics.scm (r-yaml): New variable. --- gnu/packages/statistics.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm index 4b4e839..050a507 100644 --- a/gnu/packages/statistics.scm +++ b/gnu/packages/statistics.scm @@ -710,3 +710,24 @@ library (https://github.com/vmg/sundown). Markdown is a plain-text formatting syntax that can be converted to XHTML or other formats. See http://en.wikipedia.org/wiki/Markdown for more information about Markdown.") (license license:gpl2))) + +(define-public r-yaml + (package + (name "r-yaml") + (version "2.1.13") + (source (origin + (method url-fetch) + (uri (string-append "mirror://cran/src/contrib/yaml_" + version ".tar.gz")) + (sha256 + (base32 + "18kz5mfn7qpif5pn91w4vbrc5bkycsj85vwm5wxwzjlb02i9mxi6")))) + (build-system r-build-system) + (home-page + "https://cran.r-project.org/web/packages/yaml/index.html") + (synopsis + "Methods to convert R data to YAML and back") + (description + "This package implements the libyaml YAML 1.1 parser and +emitter (http://pyyaml.org/wiki/LibYAML) for R.") + (license license:bsd-3))) -- 2.5.2