about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEfraim Flashner2022-07-29 00:01:30 +0300
committerEfraim Flashner2022-07-29 02:12:14 +0300
commit0de2d3fbf365a63d4158c89432886aa9b95f12cc (patch)
tree0bc197102bb04c49f91b9c6091b114b51f7b81a7
parent53a2060ac6e9dcd1ac024feea3bb0f1a92037501 (diff)
downloadguix-bioinformatics-0de2d3fbf365a63d4158c89432886aa9b95f12cc.tar.gz
gn: Add r-bracer
-rw-r--r--gn/packages/cran.scm26
1 files changed, 25 insertions, 1 deletions
diff --git a/gn/packages/cran.scm b/gn/packages/cran.scm
index d92f9f3..6a2a4ea 100644
--- a/gn/packages/cran.scm
+++ b/gn/packages/cran.scm
@@ -3,7 +3,8 @@
   #:use-module (guix packages)
   #:use-module (guix download)
   #:use-module (guix build-system r)
-  #:use-module (gnu packages))
+  #:use-module (gnu packages)
+  #:use-module (gnu packages statistics))
 
 (define-public r-tictoc
   (package
@@ -27,3 +28,26 @@ with custom callbacks.  In addition, this package provides class 'Stack',
 implemented as a vector, and class 'List', implemented as a list, both of whic
 support operations 'push', 'pop', 'first', 'last' and 'clear'.")
     (license license:asl2.0)))
+
+(define-public r-bracer
+  (package
+    (name "r-bracer")
+    (version "1.2.1")
+    (source (origin
+              (method url-fetch)
+              (uri (cran-uri "bracer" version))
+              (sha256
+               (base32 "0q47p43957nlaqsz0hhbica2hlar95c2i8avgq024yhccik5nx6f"))))
+    (properties `((upstream-name . "bracer")))
+    (build-system r-build-system)
+    (propagated-inputs (list r-stringr))
+    (home-page "https://trevorldavis.com/R/bracer/")
+    (synopsis "Brace Expansions")
+    (description
+     "Performs brace expansions on strings.  Made popular by Unix shells, brace
+expansion allows users to concisely generate certain character vectors by taking
+a single string and (recursively) expanding the comma-separated lists and
+double-period-separated integer and character sequences enclosed within braces
+in that string.  The double-period-separated numeric integer expansion also
+supports padding the resulting numbers with zeros.")
+    (license license:expat)))