Subject: [bug#42117] [PATCH 04/17] gnu: Add r-yardstick.

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

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

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