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

Message ID 20200629055042.8565-4-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-yardstick): New variable.
---
 gnu/packages/cran.scm | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

Patch
diff mbox series

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index f101ccd285..34b0591b27 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -22414,3 +22414,34 @@  the same object.")
       "This package provides a computationally stable approach of
 fitting a Gaussian Process (GP) model to a deterministic simulator.")
     (license license:gpl2)))
+
+(define-public r-yardstick
+  (package
+    (name "r-yardstick")
+    (version "0.0.6")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (cran-uri "yardstick" version))
+        (sha256
+          (base32
+            "1qkvbvc0cnwl5mkk47swnd8by84zz0qpy1996fziapn35qxvx9qa"))))
+    (properties `((upstream-name . "yardstick")))
+    (build-system r-build-system)
+    (propagated-inputs
+      `(("r-dplyr" ,r-dplyr)
+        ("r-generics" ,r-generics)
+        ("r-proc" ,r-proc)
+        ("r-rcpp" ,r-rcpp)
+        ("r-rlang" ,r-rlang)
+        ("r-tidyselect" ,r-tidyselect)))
+    (native-inputs `(("r-knitr" ,r-knitr)))
+    (home-page
+      "https://github.com/tidymodels/yardstick")
+    (synopsis
+      "Tidy Characterizations of Model Performance")
+    (description
+      "Tidy tools for quantifying how well model fits to a data set
+such as confusion matrices, class probability curve summaries, and
+regression metrics (e.g., RMSE).")
+    (license license:gpl2)))