Subject: [PATCH 11/14] gnu: Add r-setrng.

From: Mădălin Ionel Patrașcu<[email-masked]>
Date: Sat, 25 Mar 2023 00:18:57 +0100

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

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 325fec402b..bfcafea355 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -20170,6 +20170,28 @@ (define-public r-bedr
 additional utilities for genomic regions processing.")
     (license license:gpl2)))
 
+(define-public r-setrng
+  (package
+    (name "r-setrng")
+    (version "2022.4-1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "setRNG" version))
+       (sha256
+        (base32 "09089vr5x8snwxh38kdhgpjl3jl7zrk056f6f9a2jg5lsrmnxh31"))))
+    (properties `((upstream-name . "setRNG")))
+    (build-system r-build-system)
+    (home-page "http://distr.r-forge.r-project.org/")
+    (synopsis "Set (normal) random number generator and seed")
+    (description
+     "This package provides utilities to help set and record the setting of the
+seed and the uniform and normal generators used when a random experiment is run.
+The utilities can be used in other functions that do random experiments to simplify
+recording and/or setting all the necessary information for reproducibility.  See
+the vignette and reference manual for examples.")
+    (license license:gpl2)))
+
 (define-public r-sets
   (package
     (name "r-sets")
-- 
2.39.2