aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Lo <peterloleungyau@gmail.com>2020-06-29 13:50:32 +0800
committerRicardo Wurmus <rekado@elephly.net>2020-09-11 18:29:48 +0200
commitca379399d2786ba0d74d9d10d4b41a2e01891e18 (patch)
tree511fd4f304fdbcf10f5867e59feba14413f42a16
parent26beaffa2dcffe88095291bea7a13ddf7ad5a537 (diff)
downloadguix-ca379399d2786ba0d74d9d10d4b41a2e01891e18.tar
guix-ca379399d2786ba0d74d9d10d4b41a2e01891e18.tar.gz
gnu: Add r-dials.
* gnu/packages/cran.scm (r-dials): New variable. Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
-rw-r--r--gnu/packages/cran.scm32
1 files changed, 32 insertions, 0 deletions
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 90052452bc..e4b1ab6698 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -23788,3 +23788,35 @@ different types of resampling objects (e.g. bootstrap, cross-validation).")
"This package provides tools to create some specific @code{Space-Filling
Design} (SFD) and to test their quality.")
(license license:gpl3)))
+
+(define-public r-dials
+ (package
+ (name "r-dials")
+ (version "0.0.7")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (cran-uri "dials" version))
+ (sha256
+ (base32
+ "0fqxdlgwdwpmni2760yagrzqbniz72yl547fcmlx9kzazhzszgq0"))))
+ (properties `((upstream-name . "dials")))
+ (build-system r-build-system)
+ (propagated-inputs
+ `(("r-dicedesign" ,r-dicedesign)
+ ("r-dplyr" ,r-dplyr)
+ ("r-glue" ,r-glue)
+ ("r-purrr" ,r-purrr)
+ ("r-rlang" ,r-rlang)
+ ("r-scales" ,r-scales)
+ ("r-tibble" ,r-tibble)
+ ("r-vctrs" ,r-vctrs)
+ ("r-withr" ,r-withr)))
+ (native-inputs `(("r-knitr" ,r-knitr)))
+ (home-page "https://dials.tidymodels.org/")
+ (synopsis "Tools for creating tuning parameter values")
+ (description
+ "Many models contain tuning parameters (i.e. parameters that cannot be
+directly estimated from the data). These tools can be used to define objects
+for creating, simulating, or validating values for such parameters.")
+ (license license:gpl2)))