Subject: bug#30894: closed (Re: [bug#30894] Submission of patch for Add r-abc)

From: [email-masked] (GNU bug Tracking System)
Date: Mon, 02 Apr 2018 21:28:02 +0000

Your bug report

#30894: Submission of patch for Add r-abc

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

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

Subject: Re: [bug#30894] Submission of patch for Add r-abc
From: Ricardo Wurmus <[email-masked]>
To: Sahithi Yarlagadda <[email-masked]>
Cc: [email-masked]
Date: Mon, 02 Apr 2018 23:26:11 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Hi Sahithi,

> I have done adding r-abc. And the build was success.

Excellent!  I also built it without problems.

I couldn’t apply it cleanly after making modifications to r-abc-data,
but that’s not your problem.  I performed these minor changes:

* changed license from gpl3 to gpl3+
* added a beginning to the description.

Pushed the patch to the master branch with commit 82c8e0ae0.

Thanks again!

~~ Ricardo

Subject: Submission of patch for Add r-abc
From: Sahithi Yarlagadda <[email-masked]>
To: [email-masked]
Cc: Ricardo Wurmus <[email-masked]>
Date: Wed, 21 Mar 2018 16:44:59 +0530
List-Id: <debbugs-submit.debbugs.gnu.org>

Hi,

I am submitting a patch for r-abc. Please review.

-- 
Regards
Sahithi

>From 4b3b3eee4995616059d8a27489affc43cee26ea4 Mon Sep 17 00:00:00 2001
From: Sahithi Yarlagadda <[email-masked]>
Date: Wed, 21 Mar 2018 16:30:18 +0530
Subject: [PATCH] gnu: Add r-abc.

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

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index ce09c22c5..6aecd0f8e 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -3295,3 +3295,33 @@ 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-abc
+  (package
+    (name "r-abc")
+    (version "2.1")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (cran-uri "abc" version))
+        (sha256
+          (base32
+            "0ngzaaz2y2s03fhngvwipmy4kq38xrmyddaz6a6l858rxvadrlhb"))))
+    (build-system r-build-system)
+    (propagated-inputs
+      `(("r-abc-data" ,r-abc-data)
+        ("r-locfit" ,r-locfit)
+        ("r-mass" ,r-mass)
+        ("r-nnet" ,r-nnet)
+        ("r-quantreg" ,r-quantreg)))
+    (home-page
+      "http://cran.r-project.org/web/packages/abc")
+    (synopsis
+      "Tools for approximate bayesian computation (ABC)")
+    (description
+      "Implements several ABC algorithms for performing parameter estimation, 
+model selection, and goodness-of-fit.  Cross-validation tools are also 
+available for measuring the accuracy of ABC estimates, and to calculate the 
+misclassification probabilities of different models.")
+    (license license:gpl3+)))
+
-- 
2.16.2