Subject: bug#65428: closed ([PATCH 1/3] gnu: Add r-maptree.)

From: [email-masked] (GNU bug Tracking System)
Date: Mon, 28 Aug 2023 07:57:02 +0000

Your bug report

#65428: [PATCH 1/3] gnu: Add r-maptree.

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

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

Subject: [PATCH 1/3] gnu: Add r-maptree.
From: Ricardo Wurmus <[email-masked]>
To: [email-masked]
Date: Mon, 28 Aug 2023 09:55:28 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Applied with changes to the description (to use complete sentences) and
to the license comment.

Thanks!

-- 
Ricardo

Subject: [PATCH 1/3] gnu: Add r-maptree.
From: Navid Afkhami <[email-masked]>
To: <[email-masked]>
Cc: Navid Afkhami <[email-masked]>
Date: Mon, 21 Aug 2023 13:44:36 +0000
List-Id: <debbugs-submit.debbugs.gnu.org>

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

diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index 5abc62d760..41243ca7a7 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -433,6 +433,28 @@ (define r-with-tests
 available, greatly increasing its breadth and scope.")
     (license license:gpl3+)))
 
+(define-public r-maptree
+  (package
+    (name "r-maptree")
+    (version "1.4-8")
+    (source (origin
+              (method url-fetch)
+              (uri (cran-uri "maptree" version))
+              (sha256
+               (base32
+                "1x35nk4fi2b62krcvcv187n5sbqrgvw4pbm7r19ps3jlanpi5ksm"))))
+    (properties `((upstream-name . "maptree")))
+    (build-system r-build-system)
+    (propagated-inputs (list r-cluster r-rpart))
+    (home-page "https://cran.r-project.org/package=maptree")
+    (synopsis "Mapping, pruning, and graphing tree models")
+    (description
+     "Set of functions with example data for graphing, pruning, and mapping models.
+These moldes are from hierarchical clustering, and classification and
+regression trees.")
+    ;; Custom license, see https://cran.r-project.org/web/packages/maptree/index.html
+    (license (license:non-copyleft "file://DESCRIPTION"))))
+
 (define-public r-minimal
   (package (inherit r-with-tests)
     (name "r-minimal")

base-commit: 3c6b6941a2c76c26ebf0c1bfd7f901a22c19dce1
-- 
2.34.1