all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#72459] [PATCH] Add r_numero
@ 2024-08-04 11:36 Tor-björn Claesson
  0 siblings, 0 replies; only message in thread
From: Tor-björn Claesson @ 2024-08-04 11:36 UTC (permalink / raw)
  To: laurent.gatto, rekado, zimon.toutoune, 72459

[-- Attachment #1: Type: text/plain, Size: 389 bytes --]

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


[-- Attachment #2: 0001-gnu-Add-r-numero.patch --]
[-- Type: text/x-patch, Size: 2319 bytes --]

From a17c17e88aed7667e7c68529fffaaaa3b27c0e5c Mon Sep 17 00:00:00 2001
From: Torb <tclaesson@gmail.com>
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 <navid.afkhami@mdc-berlin.de>
 ;;; Copyright © 2022 Greg Hogan <code@greghogan.com>
 ;;; Copyright © 2024 Marco Baggio <guix@mawumag.com>
+;;; Copyright © 2024 Tor-björn Claesson <tclaesson@gmail.com>
 ;;;
 ;;; 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


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2024-08-04 11:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-04 11:36 [bug#72459] [PATCH] Add r_numero Tor-björn Claesson

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.