From 3be96f6cf9758dc701647c19f2e6f16a8a23f98f Mon Sep 17 00:00:00 2001 From: Vicente Vera Parra Date: Tue, 15 Sep 2015 14:24:17 -0300 Subject: [PATCH 17/19] gnu: Add r-testthat. * gnu/packages/statistics.scm (r-testthat): New variable. --- gnu/packages/statistics.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm index 78f6383..b72c4ad 100644 --- a/gnu/packages/statistics.scm +++ b/gnu/packages/statistics.scm @@ -877,3 +877,27 @@ automatically detected. Colors and highlighting can be combined and nested. New styles can also be created easily. This package was inspired by the \"chalk\" JavaScript project.") (license license:expat))) + +(define-public r-testthat + (package + (name "r-testthat") + (version "0.10.0") + (source (origin + (method url-fetch) + (uri (string-append "mirror://cran/src/contrib/testthat_" + version ".tar.gz")) + (sha256 + (base32 + "0b3akwcx5mv9dmi8vssbk91hr3yrrdxd2fm6zhr31fnyz8kjx4pw")))) + (build-system r-build-system) + (propagated-inputs + `(("r-digest" ,r-digest) + ("r-crayon" ,r-crayon))) + (home-page + "https://github.com/hadley/testthat") + (synopsis + "Unit testing for R") + (description + "This package provides a unit testing system designed to be fun, flexible +and easy to set up.") + (license license:expat))) -- 2.5.2