Subject: bug#41986: closed (Re: [bug#41986] [PATCH] gnu: Add r-boruta.)

From: [email-masked] (GNU bug Tracking System)
Date: Sun, 21 Jun 2020 22:50:02 +0000

Your bug report

#41986: [PATCH] gnu: Add r-boruta.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
41986: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=41986
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [bug#41986] [PATCH] gnu: Add r-boruta.
From: Leo Famulari <[email-masked]>
To: Lo Peter <[email-masked]>
Cc: [email-masked]
Date: Sun, 21 Jun 2020 18:48:54 -0400
List-Id: <debbugs-submit.debbugs.gnu.org>

On Sun, Jun 21, 2020 at 11:48:59PM +0800, Lo Peter wrote:
> Generated by import, tested on x86_64.

> From 50db03bb6b1ead282a465010baa7733bed7ce3d9 Mon Sep 17 00:00:00 2001
> From: Peter Lo <[email-masked]>
> Date: Sun, 21 Jun 2020 23:28:05 +0800
> Subject: [PATCH] gnu: Add r-boruta.
> 
> * gnu/packages/statistics.scm (r-boruta): New variable.

Thanks! I reindented as suggested by `guix lint` and pushed as
1d97e871dd60e80abf647fdd9bf50af8039c01e3

Subject: [PATCH] gnu: Add r-boruta.
From: Lo Peter <[email-masked]>
To: [email-masked]
Date: Sun, 21 Jun 2020 23:48:59 +0800
List-Id: <debbugs-submit.debbugs.gnu.org>

Generated by import, tested on x86_64.
From 50db03bb6b1ead282a465010baa7733bed7ce3d9 Mon Sep 17 00:00:00 2001
From: Peter Lo <[email-masked]>
Date: Sun, 21 Jun 2020 23:28:05 +0800
Subject: [PATCH] gnu: Add r-boruta.

* gnu/packages/statistics.scm (r-boruta): New variable.
---
 gnu/packages/statistics.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index 482eea9..9e613cd 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -5902,3 +5902,24 @@ Java package that provides routines for various statistical distributions.")
 Emacs.  It is designed to support editing of scripts and interaction with
 various statistical analysis programs such as R, Julia, and JAGS.")
     (license license:gpl2+)))
+
+(define-public r-boruta
+  (package
+    (name "r-boruta")
+    (version "7.0.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (cran-uri "Boruta" version))
+        (sha256
+          (base32
+            "0y2w4wb45kfnzrxcrdsiwgal9fsnlr3wad1sqdc70qv8gp921xbg"))))
+    (properties `((upstream-name . "Boruta")))
+    (build-system r-build-system)
+    (propagated-inputs `(("r-ranger" ,r-ranger)))
+    (home-page "https://gitlab.com/mbq/Boruta/")
+    (synopsis
+      "Wrapper Algorithm for All Relevant Feature Selection")
+    (description
+      "An all relevant feature selection wrapper algorithm.  It finds relevant features by comparing original attributes' importance with importance achievable at random, estimated using their permuted copies (shadows).")
+    (license license:gpl2+)))
-- 
2.9.0