diff options
author | Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de> | 2015-08-31 15:35:43 +0200 |
---|---|---|
committer | Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de> | 2015-09-03 14:31:51 +0200 |
commit | d5cd5c1568f95b6919f325c41fe37859e5abd2b4 (patch) | |
tree | 17e85aeb79744c8526413506d18d20c6b58f7f90 /gnu | |
parent | 4dca98dc81f895a5ffd446c9b815b3538646e8ac (diff) | |
download | guix-d5cd5c1568f95b6919f325c41fe37859e5abd2b4.tar guix-d5cd5c1568f95b6919f325c41fe37859e5abd2b4.tar.gz |
gnu: Add r-stringr.
* gnu/packages/statistics.scm (r-stringr): New variable.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/statistics.scm | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm index 6d33c360af..ed550ede82 100644 --- a/gnu/packages/statistics.scm +++ b/gnu/packages/statistics.scm @@ -381,3 +381,28 @@ programmers. Among available features there are: pattern searching (e.g. via regular expressions), random string generation, string collation, transliteration, concatenation, date-time formatting and parsing, etc.") (license license:bsd-3))) + +(define-public r-stringr + (package + (name "r-stringr") + (version "1.0.0") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://cran/src/contrib/stringr_" + version ".tar.gz")) + (sha256 + (base32 "0jnz6r9yqyf7dschr2fnn1slg4wn6b4ik5q00j4zrh43bfw7s9pq")))) + (build-system r-build-system) + (propagated-inputs + `(("r-magrittr" ,r-magrittr) + ("r-stringi" ,r-stringi))) + (home-page "") + (synopsis "Simple, consistent wrappers for common string operations") + (description + "Stringr is a consistent, simple and easy to use set of wrappers around +the fantastic 'stringi' package. All function and argument names (and +positions) are consistent, all functions deal with \"NA\"'s and zero length +vectors in the same way, and the output from one function is easy to feed into +the input of another.") + (license license:gpl2+))) |