Subject: [PATCH 07/17] gnu: Add r-dials.

From: Peter Lo <[email-masked]>
Date: Mon, 29 Jun 2020 13:50:32 +0800

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

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 8184b3576e..ccbcef52bd 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -22495,3 +22495,37 @@ of resampling objects (e.g.  bootstrap, cross-validation).")
     (description
       "Space-Filling Designs and Uniformity Criteria.")
     (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)))
-- 
2.17.1