summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2020-03-24 10:18:33 +0100
committerRicardo Wurmus <rekado@elephly.net>2020-03-24 11:05:59 +0100
commite0d6a7da74f0ac4a7fedf8e0f7b074e8ebc1b666 (patch)
tree298fba44e79fd9e350ece9d0d579ccd256875d73 /gnu
parent47a2306415cf19270cb398590be3d95a92a0e73b (diff)
downloadguix-e0d6a7da74f0ac4a7fedf8e0f7b074e8ebc1b666.tar.gz
gnu: Add r-randomizr.
* gnu/packages/cran.scm (r-randomizr): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/cran.scm22
1 files changed, 22 insertions, 0 deletions
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 4c2ea9f130..7ebb733bd4 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -4931,6 +4931,28 @@ files.")
 environment within Shiny.")
     (license license:expat)))
 
+(define-public r-randomizr
+  (package
+    (name "r-randomizr")
+    (version "0.20.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "randomizr" version))
+       (sha256
+        (base32
+         "0dljyfldnardaps3fq6vi5wcs9x6qfaq5apapa78c51lnaa6fn9h"))))
+    (properties `((upstream-name . "randomizr")))
+    (build-system r-build-system)
+    (native-inputs
+     `(("r-knitr" ,r-knitr)))
+    (home-page "https://declaredesign.org/r/randomizr/")
+    (synopsis "Tools for common forms of random assignment and sampling")
+    (description
+     "This package provides tools for generating random assignments for common
+experimental designs and random samples for common sampling designs.")
+    (license license:expat)))
+
 (define-public r-base64url
   (package
     (name "r-base64url")