summaryrefslogtreecommitdiff
path: root/gnu/packages/cran.scm
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/packages/cran.scm')
-rw-r--r--gnu/packages/cran.scm21
1 files changed, 21 insertions, 0 deletions
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index e7fd756024a..42f2cb94b59 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -6928,6 +6928,27 @@ significance (Johnson & Neyman, 1936; cf. Spiller et al., 2012), etc.")
package registries.")
(license license:gpl2+)))
+(define-public r-rematch
+ (package
+ (name "r-rematch")
+ (version "2.0.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (cran-uri "rematch" version))
+ (sha256
+ (base32
+ "09jwg3glp32q4ml4khhzi8j7bzg9zhqqdg1m6r8gibh756zzgnhm"))))
+ (build-system r-build-system)
+ (native-inputs (list r-testthat))
+ (home-page "https://github.com/MangoTheCat/rematch")
+ (synopsis "Match regular expressions with a nicer API")
+ (description
+ "This package provides a small wrapper on @code{regexpr} to extract the
+matches and captured groups from the match of a regular expression to a
+character vector.")
+ (license license:expat)))
+
(define-public r-reshape2
(package
(name "r-reshape2")