From: Roel Janssen <roel@gnu.org>
To: 47822@debbugs.gnu.org
Subject: [bug#47822] [PATCH] gnu: Add r-naturalsort.
Date: Fri, 16 Apr 2021 12:57:51 +0200 [thread overview]
Message-ID: <3d1ca65d2e40892c8effa6e4ed7e6a3948698b1a.camel@gnu.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 162 bytes --]
Hi Guix,
Here's a patch for r-naturalsort.
Also: is it OK to push patches like this ("another" fairly trivial R
package) directly?
Kind regards,
Roel Janssen
[-- Attachment #2: 0001-gnu-Add-r-naturalsort.patch --]
[-- Type: text/x-patch, Size: 1485 bytes --]
From 452a5561d9ab7623d52d0a6625f0199e8ff0e488 Mon Sep 17 00:00:00 2001
From: Roel Janssen <roel@gnu.org>
Date: Fri, 16 Apr 2021 12:53:06 +0200
Subject: [PATCH] gnu: Add r-naturalsort.
* gnu/packages/cran.scm (r-naturalsort): New variable.
---
gnu/packages/cran.scm | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 6f931f06c2..012a734c30 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -25194,6 +25194,25 @@ addition, objects which include the k-d tree search structure can be returned
to speed up repeated queries of the same set of target points.")
(license license:bsd-3)))
+(define-public r-naturalsort
+ (package
+ (name "r-naturalsort")
+ (version "0.1.3")
+ (source (origin
+ (method url-fetch)
+ (uri (cran-uri "naturalsort" version))
+ (sha256
+ (base32
+ "0mz801y9mzld9ypp3xmsjw2d8l9q97sdnv09wrci9xi3yg2sjf6d"))))
+ (build-system r-build-system)
+ (home-page "https://cran.r-project.org/web/packages/naturalsort/")
+ (synopsis "Natural ordering")
+ (description "This package provides functions related to human natural
+ordering. It handles adjacent digits in a character sequence as a number
+so that natural sort function arranges a character vector by their numbers,
+not digit characters.")
+ (license license:bsd-3)))
+
(define-public r-muhaz
(package
(name "r-muhaz")
--
2.30.2
next reply other threads:[~2021-04-16 10:58 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-04-16 10:57 Roel Janssen [this message]
2021-05-04 15:52 ` [bug#47822] [PATCH] gnu: Add r-naturalsort Efraim Flashner
2021-05-04 16:31 ` Leo Famulari
2021-05-04 19:36 ` bug#47822: " Roel Janssen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3d1ca65d2e40892c8effa6e4ed7e6a3948698b1a.camel@gnu.org \
--to=roel@gnu.org \
--cc=47822@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).