unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [PATCH 12/19] gnu: Add r-microbenchmark.
@ 2015-09-13 16:52 Vicente Vera
  2015-09-15 17:42 ` Vicente Vera
  0 siblings, 1 reply; 2+ messages in thread
From: Vicente Vera @ 2015-09-13 16:52 UTC (permalink / raw)
  To: guix-devel

[-- Attachment #1: Type: text/plain, Size: 1 bytes --]



[-- Attachment #2: 0012-gnu-Add-r-microbenchmark.patch --]
[-- Type: text/x-patch, Size: 1537 bytes --]

From 51d863a23b7caf986d6e52bb2ab84a2afee12cf4 Mon Sep 17 00:00:00 2001
From: Vicente Vera Parra <vicentemvp@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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH 12/19] gnu: Add r-microbenchmark.
  2015-09-13 16:52 [PATCH 12/19] gnu: Add r-microbenchmark Vicente Vera
@ 2015-09-15 17:42 ` Vicente Vera
  0 siblings, 0 replies; 2+ messages in thread
From: Vicente Vera @ 2015-09-15 17:42 UTC (permalink / raw)
  To: guix-devel, Ricardo Wurmus

[-- Attachment #1: Type: text/plain, Size: 91 bytes --]

Updated patch attached.

2015-09-13 13:52 GMT-03:00 Vicente Vera <vicentemvp@gmail.com>:
>

[-- Attachment #2: 0012-gnu-Add-r-microbenchmark.patch --]
[-- Type: text/x-patch, Size: 1601 bytes --]

From dd1275eb089b0fd5e95563b40864098a4e05cba8 Mon Sep 17 00:00:00 2001
From: Vicente Vera Parra <vicentemvp@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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-09-15 17:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-09-13 16:52 [PATCH 12/19] gnu: Add r-microbenchmark Vicente Vera
2015-09-15 17:42 ` Vicente Vera

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).