summary refs log tree commit diff
path: root/gnu/packages/cran.scm
diff options
context:
space:
mode:
authorNicolò Balzarotti <anothersms@gmail.com>2019-03-14 10:53:25 +0100
committerRicardo Wurmus <rekado@elephly.net>2019-03-14 10:54:49 +0100
commit100f56024e72ad5effff340d34cd7a91a34a830a (patch)
treefe9bdb7a751c550b739372ec561f26105663ae32 /gnu/packages/cran.scm
parent8a55c38915c55b36054cfbc34adf04e63d3f4dd0 (diff)
downloadguix-100f56024e72ad5effff340d34cd7a91a34a830a.tar.gz
gnu: Add r-rematch2.
* gnu/packages/cran.scm (r-rematch2): New variable.

Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
Diffstat (limited to 'gnu/packages/cran.scm')
-rw-r--r--gnu/packages/cran.scm22
1 files changed, 22 insertions, 0 deletions
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index b04a69d5c1..eac6293fc9 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -14,6 +14,7 @@
 ;;; Copyright © 2018 Leo Famulari <leo@famulari.name>
 ;;; Copyright © 2018 Marius Bakke <mbakke@fastmail.com>
 ;;; Copyright © 2018, 2019 Brett Gilio <brettg@posteo.net>
+;;; Copyright © 2019 Nicolò Balzarotti <anothersms@gmail.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -11717,3 +11718,24 @@ plotting functions are available for analyzing clustering results.")
 signals.  It provides functionality similar to command-line tool suites within
 R, enabling interactive analysis and visualization of genome-scale data.")
     (license license:expat)))
+
+(define-public r-rematch2
+  (package
+    (name "r-rematch2")
+    (version "2.0.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "rematch2" version))
+       (sha256
+        (base32
+         "16k0i5p7fa3qfxv59ijyn638wpz8n4jrkrnilqmh5g9l8f8bn4h6"))))
+    (build-system r-build-system)
+    (propagated-inputs
+     `(("r-tibble" ,r-tibble)))
+    (home-page "https://github.com/r-lib/rematch2")
+    (synopsis "Tidy output from regular expression matching")
+    (description
+     "This package provides wrappers on @code{regexpr} and @code{gregexpr} to
+return the match results in tidy data frames.")
+    (license license:expat)))