Subject: bug#30947: closed (Re: [bug#30947] [PATCH] Add r-arules)

From: [email-masked] (GNU bug Tracking System)
Date: Mon, 26 Mar 2018 19:00:03 +0000

Your bug report

#30947: [PATCH] Add r-arules

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].

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

Subject: Re: [bug#30947] [PATCH] Add r-arules
From: Leo Famulari <[email-masked]>
To: Sandeep Subramanian <[email-masked]>
Cc: [email-masked]
Date: Mon, 26 Mar 2018 14:58:56 -0400
List-Id: <debbugs-submit.debbugs.gnu.org>

On Mon, Mar 26, 2018 at 03:43:25PM +0530, Sandeep Subramanian wrote:
> Hi,
> 
> This patch adds the cran package arules.
> The patch has been linted and tested to have a deterministic build process.

> From 8209b306a563009ada9bba5d61a84ce7b0851922 Mon Sep 17 00:00:00 2001
> From: Sandeep Subramanian <[email-masked]>
> Date: Mon, 26 Mar 2018 15:21:46 +0530
> Subject: [PATCH] gnu: Add r-arules.
> 
> * gnu/packages/cran.scm (r-arules): New variable.

Thanks! Pushed as 96e223621fa4f7c9fc1ef52915e6d1fceed5612f

Subject: [PATCH] Add r-arules
From: Sandeep Subramanian <[email-masked]>
To: [email-masked]
Date: Mon, 26 Mar 2018 15:43:25 +0530
List-Id: <debbugs-submit.debbugs.gnu.org>

Hi,

This patch adds the cran package arules.
The patch has been linted and tested to have a deterministic build process.
From 8209b306a563009ada9bba5d61a84ce7b0851922 Mon Sep 17 00:00:00 2001
From: Sandeep Subramanian <[email-masked]>
Date: Mon, 26 Mar 2018 15:21:46 +0530
Subject: [PATCH] gnu: Add r-arules.

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

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 39f2a32..d9a91c1 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -5,6 +5,7 @@
 ;;; Copyright © 2017 Raoul Bonnal <[email-masked]>
 ;;; Copyright © 2018 Vijayalakshmi Vedantham <[email-masked]>
 ;;; Copyright © 2018 Sahithi Yarlagadda <[email-masked]>
+;;; Copyright © 2018 Sandeep Subramanian <[email-masked]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -3296,3 +3297,26 @@ Dependencies of the distribution of the specified variable (response
 variable) to other variables (explanatory variables) are derived and
 evaluated by the @dfn{Akaike Information Criterion} (AIC).")
     (license license:gpl2+)))
+
+(define-public r-arules
+  (package
+    (name "r-arules")
+    (version "1.6-0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "arules" version))
+       (sha256
+        (base32
+         "14gbq5k2zkx4wc7kkfazz313ngij89qp1xmyxfg3nq3v1s84c3sl"))))
+    (build-system r-build-system)
+    (propagated-inputs
+     `(("r-matrix" ,r-matrix)))
+    (home-page "https://github.com/mhahsler/arules")
+    (synopsis "Mining Association Rules and Frequent Itemsets")
+    (description
+     "This package provides an infrastructure for representing, manipulating
+and analyzing transaction data and patterns (frequent itemsets and association rules).
+It also provides C implementations of the association mining algorithms Apriori
+and Eclat.")
+    (license license:gpl3)))
-- 
2.7.4