summary refs log tree commit diff
path: root/gnu/packages/statistics.scm
diff options
context:
space:
mode:
authorVicente Vera Parra <vicentemvp@gmail.com>2015-09-15 14:20:47 -0300
committerRicardo Wurmus <ricardo.wurmus@mdc-berlin.de>2015-09-21 10:48:26 +0200
commit4f0e84845d4523e5801df12f24f2bd0570d8e549 (patch)
tree103eae0e7d9be4bf458bdc91779b240f99e824a8 /gnu/packages/statistics.scm
parent213656b95b3067c141e8d3fe458463326f2e7c6c (diff)
downloadguix-4f0e84845d4523e5801df12f24f2bd0570d8e549.tar.gz
gnu: Add r-microbenchmark.
* gnu/packages/statistics.scm (r-microbenchmark): New variable.
Diffstat (limited to 'gnu/packages/statistics.scm')
-rw-r--r--gnu/packages/statistics.scm20
1 files changed, 20 insertions, 0 deletions
diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index c3d98a6ca1..a9c8457b0c 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -710,3 +710,23 @@ generation in R using Literate Programming techniques.")
     ;; r-markdown which is available under GPLv2 only, we have chosen GPLv2+
     ;; here.
     (license license:gpl2+)))
+
+(define-public r-microbenchmark
+  (package
+    (name "r-microbenchmark")
+    (version "1.4-2")
+    (source (origin
+              (method url-fetch)
+              (uri (cran-uri "microbenchmark" version))
+              (sha256
+               (base32
+                "05yxvdnkxr2ll94h6f2m5sn3gg7vrlm9nbdxgmj2g8cp8gfxpfkg"))))
+    (build-system r-build-system)
+    (propagated-inputs
+     `(("r-ggplot2" ,r-ggplot2)))
+    (home-page "https://cran.r-project.org/web/packages/microbenchmark/")
+    (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)))