Updated patch attached.

2015-09-13 13:52 GMT-03:00 Vicente Vera <vicente...@gmail.com>:
>
From dd1275eb089b0fd5e95563b40864098a4e05cba8 Mon Sep 17 00:00:00 2001
From: Vicente Vera Parra <vicente...@gmail.com>
Date: Tue, 15 Sep 2015 14:20:47 -0300
Subject: [PATCH 12/19] gnu: Add r-microbenchmark.

* gnu/packages/statistics.scm (r-microbenchmark): New variable.
---
 gnu/packages/statistics.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index e5b71f9..6ec76e9 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -760,3 +760,26 @@ emitter (http://pyyaml.org/wiki/LibYAML) for R.")
      "This package provides a general-purpose tool for dynamic report
 generation in R using Literate Programming techniques.")
     (license license:gpl2+)))
+
+(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 for R")
+    (description
+     "This package provides infrastructure to accurately measure and compare
+the execution time of R expressions.")
+    (license license:bsd-2)))
-- 
2.5.2

Reply via email to