Subject: [PATCH 08/11] gnu: Add r-bench.

From: Mădălin Ionel Patrașcu<[email-masked]>
Date: Tue, 31 Oct 2023 11:57:26 +0100

* gnu/packages/cran.scm (r-bench): New variable.

Change-Id: I9948ff12729b08dd4016df272777651a6b6de2e0
---
 gnu/packages/cran.scm | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 27ea2cdc06..af9b59c8bf 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -1481,6 +1481,26 @@ (define-public r-babelwhale
 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")
-- 
2.41.0