summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2019-12-13 18:53:00 +0100
committerRicardo Wurmus <rekado@elephly.net>2019-12-13 22:41:39 +0100
commit390bc8726bbd9625557f1cd02b3853995de34b8f (patch)
treec161cdf6621b6fca1338deab8166f1bd7aa4bacf /gnu
parente6bf147293e8cf36aa4090e5b4aa5d653201c9a9 (diff)
downloadguix-390bc8726bbd9625557f1cd02b3853995de34b8f.tar.gz
gnu: Add r-lhs.
* gnu/packages/cran.scm (r-lhs): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/cran.scm21
1 files changed, 21 insertions, 0 deletions
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index ed47472583..1a09342180 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -16944,3 +16944,24 @@ sequence, the Halton sequence (including the Van der Corput sequence), and
 
 See e.g. Gentle (2003) @url{doi:10.1007/b97336}.")
     (license license:bsd-3)))
+
+(define-public r-lhs
+  (package
+    (name "r-lhs")
+    (version "1.0.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "lhs" version))
+       (sha256
+        (base32
+         "0lzaqr7xi3ckln5nglv5xf5njm359slpz1jc6s02hpsqdw6armd4"))))
+    (properties `((upstream-name . "lhs")))
+    (build-system r-build-system)
+    (propagated-inputs `(("r-rcpp" ,r-rcpp)))
+    (home-page "https://github.com/bertcarnell/lhs")
+    (synopsis "Latin Hypercube Samples")
+    (description
+     "This package provides a number of methods for creating and augmenting
+Latin Hypercube Samples.")
+    (license license:gpl3)))