From eb4b61c7b2c2d4c8a54a6f30cd7abafe0d4d70ff Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Sat, 18 Feb 2023 20:27:23 +0100 Subject: [PATCH] gnu: Add r-strex. * gnu/packages/cran.scm (r-strex): New variable. --- gnu/packages/cran.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index fb99d1b444..5d67cdff5c 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -33940,6 +33940,30 @@ (define-public r-streamr user streams, and to parse the output into data frames.") (license license:gpl2))) +(define-public r-strex + (package + (name "r-strex") + (version "1.6.0") + (source (origin + (method url-fetch) + (uri (cran-uri "strex" version)) + (sha256 + (base32 + "1fxg07n8cjvvgpbzqhyx5ma5bv6vax1yw0rbfdqfzr79v6k5x3n7")))) + (properties `((upstream-name . "strex"))) + (build-system r-build-system) + (propagated-inputs + (list r-checkmate r-magrittr r-rlang r-stringi r-stringr)) + (native-inputs (list r-knitr)) + (home-page "https://rorynolan.github.io/strex/") + (synopsis "Extra string manipulation functions") + (description + "Strex is a collection of string manipulation functions not provided by +the @code{stringi} or @code{stringr} packages. The foremost of these is the +extraction of numbers from strings. There are many other handy +functionalities in strex.") + (license license:gpl3))) + (define-public r-readods (package (name "r-readods")