From 51d863a23b7caf986d6e52bb2ab84a2afee12cf4 Mon Sep 17 00:00:00 2001
From: Vicente Vera Parra <vicente...@gmail.com>
Date: Sun, 13 Sep 2015 13:22:10 -0300
Subject: [PATCH 12/19] gnu: Add r-microbenchmark.

* gnu/packages/statistics.scm (r-microbenchmark): 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 65ca528..1265e4d 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -731,3 +731,23 @@ emitter (http://pyyaml.org/wiki/LibYAML) for R.")
      "Provides a general-purpose tool for dynamic report generation in
 R using Literate Programming techniques.")
     (license license:gpl3+)))
+
+(define-public r-microbenchmark
+  (package
+    (name "r-microbenchmark")
+    (version "1.4-2")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "mirror://cran/src/contrib/microbenchmark_"
+                                  version ".tar.gz"))
+              (sha256
+               (base32 "05yxvdnkxr2ll94h6f2m5sn3gg7vrlm9nbdxgmj2g8cp8gfxpfkg"))))
+    (build-system r-build-system)
+    (propagated-inputs
+     `(("r-ggplot2" ,r-ggplot2)))
+    (home-page "https://cran.r-project.org/web/packages/microbenchmark/index.html";)
+    (synopsis "Accurate Timing Functions")
+    (description
+     "Provides infrastructure to accurately measure and compare the
+execution time of R expressions.")
+    (license license:bsd-2)))
-- 
2.5.1

Reply via email to