unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: pimi <madalinionel.patrascu@mdc-berlin.de>
To: 32700@debbugs.gnu.org
Cc: pimi <madalinionel.patrascu@mdc-berlin.de>
Subject: [bug#32700] [PATCH 1/3] gnu: Add r-rbenchmark.
Date: Tue, 11 Sep 2018 15:18:25 +0200	[thread overview]
Message-ID: <20180911131827.12372-1-madalinionel.patrascu@mdc-berlin.de> (raw)
In-Reply-To: <918DDFCAA65E9447BD6F28DB666521DA99354A@DAGONE.mdc-berlin.net>

gnu/packages/cran.scm (r-rbenchmark): New variable.
---
 gnu/packages/cran.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 7621b3bb6..aada8acce 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -5797,3 +5797,28 @@ on user-defined cut-points of accelerometer counts.
 and generates data summaries.  Also, includes functions to plot, analyze, and
 simulate accelerometer data.")
     (license license:gpl2+)))
+
+(define-public r-rbenchmark
+  (package
+    (name "r-rbenchmark")
+    (version "1.0.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "rbenchmark" version))
+       (sha256
+        (base32 "010fn3qwnk2k411cbqyvra1d12c3bhhl3spzm8kxffmirj4p2al9"))))
+    (build-system r-build-system)
+    (home-page "https://cran.r-project.org/web/packages/rbenchmark/")
+    (synopsis "Benchmarking routine for R")
+    (description
+     "This @code{r-rbenchmark} package is inspired by the Perl module Benchmark,
+and is intended to facilitate benchmarking of arbitrary R code.  The library
+consists of just one function, benchmark, which is a simple wrapper around
+system.time.  Given a specification of the benchmarking process (counts of
+replications, evaluation environment) and an arbitrary number of expressions,
+benchmark evaluates each of the expressions in the specified environment,
+replicating the evaluation as many times as specified, and returning the results
+conveniently wrapped into a data frame.")
+    (license license:gpl2+)))
+
-- 
2.17.1

  reply	other threads:[~2018-09-11 13:19 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-09-11 12:40 [bug#32700] MadalinIonel.Patrascu
2018-09-11 13:18 ` pimi [this message]
2018-09-11 13:18   ` [bug#32700] [PATCH 2/3] gnu: Add r-dvmisc pimi
2018-09-11 13:18   ` [bug#32700] [PATCH 3/3] gnu: Add r-accelerometry pimi
2018-10-02 19:46   ` bug#32700: [PATCH 1/3] gnu: Add r-rbenchmark Leo Famulari

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180911131827.12372-1-madalinionel.patrascu@mdc-berlin.de \
    --to=madalinionel.patrascu@mdc-berlin.de \
    --cc=32700@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).