From 685339b25e3db26cc6e8b98e10fb652a287fbe4c Mon Sep 17 00:00:00 2001 From: Vicente Vera Parra Date: Tue, 15 Sep 2015 14:15:55 -0300 Subject: [PATCH 05/19] gnu: Add r-evaluate. * gnu/packages/statistics.scm (r-evaluate): 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 5801ce6..7b02267 100644 --- a/gnu/packages/statistics.scm +++ b/gnu/packages/statistics.scm @@ -589,3 +589,28 @@ for template use among CRAN packages. By placing these libraries in this package, we offer a more efficient distribution system for CRAN as replication of this code in the sources of other packages is avoided.") (license license:boost1.0))) + +(define-public r-evaluate + (package + (name "r-evaluate") + (version "0.7.2") + (source (origin + (method url-fetch) + (uri (string-append "mirror://cran/src/contrib/evaluate_" + version ".tar.gz")) + (sha256 + (base32 + "0r4jl32d817w9472l7a240w3aip5h7v0vw7byvkwqwv8gnx8r7xv")))) + (build-system r-build-system) + (propagated-inputs + `(("r-stringr" ,r-stringr))) + (home-page + "https://github.com/hadley/evaluate") + (synopsis + "Parsing and evaluation tools for R") + (description + "This package provides tools that allow you to recreate the parsing, +evaluation and display of R code, with enough information that you can +accurately recreate what happens at the command line. The tools can easily be +adapted for other output formats, such as HTML or LaTeX.") + (license license:gpl3+))) -- 2.5.2