[bug#42117,07/17] gnu: Add r-dials.
diff mbox series

Message ID 20200629055042.8565-7-peterloleungyau@gmail.com
State New
Headers show
Series
  • [bug#42117,01/17] gnu: Add r-hardhat.
Related show

Checks

Context Check Description
cbaines/applying patch fail View Laminar job

Commit Message

Peter Lo June 29, 2020, 5:50 a.m. UTC
* gnu/packages/cran.scm (r-dials): New variable.
---
 gnu/packages/cran.scm | 34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

Patch
diff mbox series

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)))