summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorMădălin Ionel Patrașcu <madalinionel.patrascu@mdc-berlin.de>2023-10-31 11:57:26 +0100
committerRicardo Wurmus <rekado@elephly.net>2023-10-31 13:58:08 +0100
commita8680f59e3a8beb3ec5c35e9c33f8aa62f0fd9ac (patch)
treef0eaf5be412187b7d7b7092fe6c5ec5fd02dbb9f /gnu
parent4903e709937f61a38bc54a5245c2cf5a1c6fb417 (diff)
downloadguix-a8680f59e3a8beb3ec5c35e9c33f8aa62f0fd9ac.tar.gz
gnu: Add r-bench.
* gnu/packages/cran.scm (r-bench): New variable.

Change-Id: I9948ff12729b08dd4016df272777651a6b6de2e0
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/cran.scm20
1 files changed, 20 insertions, 0 deletions
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index deb1817305..f2a035555b 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -1540,6 +1540,26 @@ Singularity containers.  You can execute a command inside a container, mount a
 volume or copy a file.")
     (license license:expat)))
 
+(define-public r-bench
+  (package
+    (name "r-bench")
+    (version "1.1.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "bench" version))
+       (sha256
+        (base32 "05zky7l6103gabv9y0g3qlx8sgkq1sn9yl9jd3x8834cmlh67bmz"))))
+    (properties `((upstream-name . "bench")))
+    (build-system r-build-system)
+    (propagated-inputs (list r-glue r-pillar r-profmem r-rlang r-tibble))
+    (home-page "https://bench.r-lib.org/")
+    (synopsis "High precision timing of R expressions")
+    (description
+     "This package provides tools to accurately benchmark and analyze execution
+times for R expressions.")
+    (license license:expat)))
+
 (define-public r-benchmarkmedata
   (package
     (name "r-benchmarkmedata")