Subject: [PATCH 05/17] gnu: Add r-rsample.

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

* gnu/packages/cran.scm (r-rsample): 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 34b0591b27..d524465a23 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -22445,3 +22445,34 @@ fitting a Gaussian Process (GP) model to a deterministic simulator.")
 such as confusion matrices, class probability curve summaries, and
 regression metrics (e.g., RMSE).")
     (license license:gpl2)))
+
+(define-public r-rsample
+  (package
+    (name "r-rsample")
+    (version "0.0.7")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (cran-uri "rsample" version))
+        (sha256
+          (base32
+            "0s6hgq0rcv3ianyidq3n9z34y5ww51gaggqkwmwns9yyxmwfjcm8"))))
+    (properties `((upstream-name . "rsample")))
+    (build-system r-build-system)
+    (propagated-inputs
+      `(("r-dplyr" ,r-dplyr)
+        ("r-furrr" ,r-furrr)
+        ("r-generics" ,r-generics)
+        ("r-purrr" ,r-purrr)
+        ("r-rlang" ,r-rlang)
+        ("r-tibble" ,r-tibble)
+        ("r-tidyr" ,r-tidyr)
+        ("r-tidyselect" ,r-tidyselect)
+        ("r-vctrs" ,r-vctrs)))
+    (native-inputs `(("r-knitr" ,r-knitr)))
+    (home-page "https://rsample.tidymodels.org")
+    (synopsis "General Resampling Infrastructure")
+    (description
+      "Classes and functions to create and summarize different types
+of resampling objects (e.g.  bootstrap, cross-validation).")
+    (license license:gpl2)))
-- 
2.17.1