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

Message ID 20200629055042.8565-5-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-rsample): 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 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)))