From 3c84aed40d729a2de02e891fa43c1000cec6d602 Mon Sep 17 00:00:00 2001 From: Vicente Vera Parra Date: Sun, 13 Sep 2015 13:03:01 -0300 Subject: [PATCH 01/19] gnu: Add r-assertthat. * gnu/packages/statistics.scm (r-assertthat): New variable. --- gnu/packages/statistics.scm | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm index 29cd34a..9063496 100644 --- a/gnu/packages/statistics.scm +++ b/gnu/packages/statistics.scm @@ -498,3 +498,23 @@ by step from multiple data sources. It also implements a sophisticated multidimensional conditioning system and a consistent interface to map data to aesthetic attributes.") (license license:gpl2+))) + +(define-public r-assertthat + (package + (name "r-assertthat") + (version "0.1") + (source (origin + (method url-fetch) + (uri (string-append "mirror://cran/src/contrib/assertthat_" + version ".tar.gz")) + (sha256 + (base32 "0dwsqajyglfscqilj843qfqn1ndbqpswa7b4l1d633qjk9d68qqk")))) + (build-system r-build-system) + (home-page "https://github.com/hadley/assertthat") + (synopsis "Easy pre and post assertions") + (description + "Assertthat is an extension to stopifnot() that makes it easy to +declare the pre and post conditions that you code should satisfy, +while also producing friendly error messages so that your users know +what they've done wrong.") + (license license:gpl3+))) -- 2.5.1