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

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

Patch
diff mbox series

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 37afec7774..cf259a795a 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -22768,3 +22768,40 @@  formats.")
       "Text mining for word processing and sentiment analysis using
 @code{dplyr}, @code{ggplot2}, and other tidy tools.")
     (license license:expat)))
+
+(define-public r-parsnip
+  (package
+    (name "r-parsnip")
+    (version "0.1.1")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (cran-uri "parsnip" version))
+        (sha256
+          (base32
+            "1p33absjd2lnq5aikr42him4b724qzxr1pzvdnazg789f763i47l"))))
+    (properties `((upstream-name . "parsnip")))
+    (build-system r-build-system)
+    (propagated-inputs
+      `(("r-dplyr" ,r-dplyr)
+        ("r-generics" ,r-generics)
+        ("r-globals" ,r-globals)
+        ("r-glue" ,r-glue)
+        ("r-magrittr" ,r-magrittr)
+        ("r-prettyunits" ,r-prettyunits)
+        ("r-purrr" ,r-purrr)
+        ("r-rlang" ,r-rlang)
+        ("r-tibble" ,r-tibble)
+        ("r-tidyr" ,r-tidyr)
+        ("r-vctrs" ,r-vctrs)))
+    (native-inputs `(("r-knitr" ,r-knitr)))
+    (home-page
+      "https://parsnip.tidymodels.org")
+    (synopsis
+      "Common API to Modeling and Analysis Functions")
+    (description
+      "This package provides a common interface is provided to allow
+users to specify a model without having to remember the different
+argument names across different functions or computational
+engines (e.g. 'R', 'Spark', 'Stan', etc).")
+    (license license:gpl2)))