From 100f56024e72ad5effff340d34cd7a91a34a830a Mon Sep 17 00:00:00 2001 From: Nicolò Balzarotti Date: Thu, 14 Mar 2019 10:53:25 +0100 Subject: gnu: Add r-rematch2. * gnu/packages/cran.scm (r-rematch2): New variable. Signed-off-by: Ricardo Wurmus --- gnu/packages/cran.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'gnu') 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))) -- cgit v1.2.3