Subject: [bug#42105] [PATCH] gnu: Add r-randomforestsrc.

From: Peter Lo <[email-masked]>
Date: Sun, 28 Jun 2020 16:10:29 +0800

* gnu/packages/cran.scm (r-randomforestsrc): New variable.
---
 gnu/packages/cran.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index ab5e57c0e2..1a5ff5ef8e 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -22325,3 +22325,31 @@ across a wide array of bioinformatic R packages.")
 and clustering large sequence datasets using fast alignment-free k-mer
 counting and recursive k-means partitioning.")
     (license license:gpl3)))
+
+(define-public r-randomforestsrc
+  (package
+    (name "r-randomforestsrc")
+    (version "2.9.3")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (cran-uri "randomForestSRC" version))
+        (sha256
+          (base32
+            "05ifvj49jv0n5p6k46milpgj9r10sc5aw23fypyyibdgwpwvwixw"))))
+    (properties
+      `((upstream-name . "randomForestSRC")))
+    (build-system r-build-system)
+    (home-page
+      "https://cran.r-project.org/web/packages/randomForestSRC/")
+    (synopsis
+      "Fast Unified Random Forests for Survival, Regression, and Classification")
+    (description
+      "Fast OpenMP parallel computing of Breiman's random forests for
+survival, competing risks, regression and classification based on
+Ishwaran and Kogalur's popular random survival forests (RSF) package.
+Handles missing data and now includes multivariate, unsupervised
+forests, quantile regression and solutions for class imbalanced data.
+New fast interface using subsampling and confidence regions for
+variable importance.")
+    (license license:gpl3+)))
-- 
2.17.1