Subject: bug#72459: closed ([PATCH] Add r_numero)

From: [email-masked] (GNU bug Tracking System)
Date: Thu, 23 Jan 2025 15:00:03 +0000

Your bug report

#72459: [PATCH] Add r_numero

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

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

Subject: [PATCH] Add r_numero
From: Ricardo Wurmus <[email-masked]>
To: [email-masked]
Date: Thu, 23 Jan 2025 15:59:43 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

My apologies, I've only just seen this patch.  I just applied it.

-- 
Ricardo

Subject: [PATCH] Add r_numero
From: Tor-björn Claesson <[email-masked]>
To: [email-masked], [email-masked], [email-masked], [email-masked]
Date: Sun, 04 Aug 2024 14:36:22 +0300
List-Id: <debbugs-submit.debbugs.gnu.org>

Hello team R!

Please find attached a patch to add the Numero package from CRAN.

The resulting built package contains some javascript, but I think this is specific to
Numeros drawing of cluster maps, and not something that could be packaged
as an external dependency.
I'm happy to submit this to guix-science instead, if this is a problem.

Best regards,
Tor-björn Claesson

>From a17c17e88aed7667e7c68529fffaaaa3b27c0e5c Mon Sep 17 00:00:00 2001
From: Torb <[email-masked]>
Date: Sun, 4 Aug 2024 14:15:36 +0300
Subject: [PATCH] gnu: Add r-numero.

* gnu/packages/cran.scm (r-numero): New variable.

Change-Id: I35c4f5505cfd19037788b6bc1a1f24ad8a4b5cac
---
 gnu/packages/cran.scm | 24 +++++++++++++++++++++++-
 1 file changed, 23 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 32ee25e1ae..d6e251ab01 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -38,6 +38,7 @@
 ;;; Copyright © 2022-2024 Navid Afkhami <[email-masked]>
 ;;; Copyright © 2022 Greg Hogan <[email-masked]>
 ;;; Copyright © 2024 Marco Baggio <[email-masked]>
+;;; Copyright © 2024 Tor-björn Claesson <[email-masked]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -98,7 +99,7 @@ (define-module (gnu packages cran)
   #:use-module (gnu packages pdf)
   #:use-module (gnu packages perl)
   #:use-module (gnu packages pkg-config)
-  #:use-module (gnu packages pulseaudio)  ;libsndfile
+  #:use-module (gnu packages pulseaudio) ;libsndfile
   #:use-module (gnu packages protobuf)
   #:use-module (gnu packages python)
   #:use-module (gnu packages python-xyz)
@@ -1551,6 +1552,27 @@ (define-public r-googlesheets4
 can read and write both the metadata and the cell data in a Sheet.")
     (license license:expat)))
 
+(define-public r-numero
+  (package
+    (name "r-numero")
+    (version "1.9.7")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "Numero" version))
+       (sha256
+        (base32 "04pf6x7qmgkfyj98c23maxcvlwwwfw6jas7l72xp0713lyndjl15"))))
+    (build-system r-build-system)
+    (propagated-inputs (list r-rcpp))
+    (native-inputs (list r-knitr r-rmarkdown))
+    (home-page "https://cran.r-project.org/package=Numero")
+    (synopsis "Statistical framework to define subgroups in complex datasets")
+    (description
+     "The package includes the necessary functions to construct
+a self-organizing map of data, to evaluate the statistical signifcance of the
+observed data patterns, and to visualize the results.")
+    (license license:gpl2+)))
+
 (define-public r-pma
   (package
     (name "r-pma")
-- 
2.45.2