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 ;;; Copyright © 2018 Marius Bakke ;;; Copyright © 2018, 2019 Brett Gilio +;;; Copyright © 2019 Nicolò Balzarotti ;;; ;;; 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)))