GNU bug report logs -
#42117
[PATCH] gnu: Add r-tidymodels and its many dependencies
Previous Next
Reported by: Lo Peter <peterloleungyau <at> gmail.com>
Date: Mon, 29 Jun 2020 05:50:02 UTC
Severity: normal
Tags: patch
Done: Ricardo Wurmus <rekado <at> elephly.net>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
* gnu/packages/cran.scm (r-tidypredict): New variable.
---
gnu/packages/cran.scm | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 74728ae155..6721df2c14 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -22614,3 +22614,36 @@ make statistical (and practical) comparisons between models. The
methods included here are similar to Benavoli et al (2017)
<http://jmlr.org/papers/v18/16-305.html>.")
(license license:gpl2)))
+
+(define-public r-tidypredict
+ (package
+ (name "r-tidypredict")
+ (version "0.4.5")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (cran-uri "tidypredict" version))
+ (sha256
+ (base32
+ "1i6zl6wjz6wbpkmkc9z9ikp8zgck3qh38lar0r6q2jzl8fxpimg4"))))
+ (properties `((upstream-name . "tidypredict")))
+ (build-system r-build-system)
+ (propagated-inputs
+ `(("r-dplyr" ,r-dplyr)
+ ("r-generics" ,r-generics)
+ ("r-knitr" ,r-knitr)
+ ("r-purrr" ,r-purrr)
+ ("r-rlang" ,r-rlang)
+ ("r-tibble" ,r-tibble)))
+ (native-inputs `(("r-knitr" ,r-knitr)))
+ (home-page
+ "https://tidypredict.tidymodels.org")
+ (synopsis "Run Predictions Inside the Database")
+ (description
+ "It parses a fitted 'R' model object, and returns a formula in
+'Tidy Eval' code that calculates the predictions. It works with
+several databases back-ends because it leverages 'dplyr' and 'dbplyr'
+for the final 'SQL' translation of the algorithm. It currently
+supports lm(), glm(), randomForest(), ranger(), earth(),
+xgb.Booster.complete(), cubist(), and ctree() models.")
+ (license license:gpl3)))
--
2.17.1
This bug report was last modified 4 years and 311 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.