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

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

Patch
diff mbox series

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 9f7f952217..8adca7a8cc 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -22835,3 +22835,50 @@  engines (e.g. 'R', 'Spark', 'Stan', etc).")
 expressive statistical grammar that coheres with the tidy design
 framework.")
     (license license:cc0)))
+
+(define-public r-tidymodels
+  (package
+    (name "r-tidymodels")
+    (version "0.1.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (cran-uri "tidymodels" version))
+        (sha256
+          (base32
+            "1bi5vh80f6f2ibhyaapgnl7q1mkkx8425vj6ci0ml5rb7l8jhjm8"))))
+    (properties `((upstream-name . "tidymodels")))
+    (build-system r-build-system)
+    (propagated-inputs
+      `(("r-broom" ,r-broom)
+        ("r-cli" ,r-cli)
+        ("r-crayon" ,r-crayon)
+        ("r-dials" ,r-dials)
+        ("r-dplyr" ,r-dplyr)
+        ("r-ggplot2" ,r-ggplot2)
+        ("r-infer" ,r-infer)
+        ("r-magrittr" ,r-magrittr)
+        ("r-parsnip" ,r-parsnip)
+        ("r-pillar" ,r-pillar)
+        ("r-purrr" ,r-purrr)
+        ("r-recipes" ,r-recipes)
+        ("r-rlang" ,r-rlang)
+        ("r-rsample" ,r-rsample)
+        ("r-rstudioapi" ,r-rstudioapi)
+        ("r-tibble" ,r-tibble)
+        ("r-tidyposterior" ,r-tidyposterior)
+        ("r-tidypredict" ,r-tidypredict)
+        ("r-tidytext" ,r-tidytext)
+        ("r-tune" ,r-tune)
+        ("r-workflows" ,r-workflows)
+        ("r-yardstick" ,r-yardstick)))
+    (native-inputs `(("r-knitr" ,r-knitr)))
+    (home-page
+      "https://github.com/tidymodels/tidymodels")
+    (synopsis
+      "Easily Install and Load the 'Tidymodels' Packages")
+    (description
+      "The tidy modeling \"verse\" is a collection of packages for
+modeling and statistical analysis that share the underlying design
+philosophy, grammar, and data structures of the tidyverse.")
+    (license license:gpl3)))