summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorWiktor Żelazny <wz@freeshell.de>2024-02-18 19:31:36 +0100
committerRicardo Wurmus <rekado@elephly.net>2024-02-19 11:00:12 +0100
commit052ef145215d45e1fe0e179df3b8c9626e021c2b (patch)
tree802a096abfbb4a3f69e322f47596aff2ed6e33b5 /gnu
parent07ecdb99b6c4b6b3e993d08034138bf69414020b (diff)
gnu: Add r-abbreviate.
* gnu/packages/cran.scm (r-abbreviate): New variable. Change-Id: I8632c1e7b2b5f5b03140191f6fea558d540ae496 Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/cran.scm19
1 files changed, 19 insertions, 0 deletions
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index bcb5ab4964..2071fc8742 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -116,6 +116,25 @@
#:use-module (gnu packages xml)
#:use-module (gnu packages xorg))
+(define-public r-abbreviate
+ (package
+ (name "r-abbreviate")
+ (version "0.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (cran-uri "abbreviate" version))
+ (sha256
+ (base32 "1cvjdbi17qz8gr5898zchm5fyz4n51z66lwps25v8a9mhwab8imi"))))
+ (properties `((upstream-name . "abbreviate")))
+ (build-system r-build-system)
+ (home-page "https://github.com/sigbertklinke/abbreviate")
+ (synopsis "Readable string abbreviation")
+ (description
+ "This package abbreviates strings to a specified minimum number of
+characters, such that the strings remain unique (if they originally were).")
+ (license license:gpl3)))
+
(define-public r-aer
(package
(name "r-aer")