guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

12/16: gnu: Add r-stringi.


From: Ricardo Wurmus
Subject: 12/16: gnu: Add r-stringi.
Date: Thu, 03 Sep 2015 12:32:30 +0000

rekado pushed a commit to branch master
in repository guix.

commit 4dca98dc81f895a5ffd446c9b815b3538646e8ac
Author: Ricardo Wurmus <address@hidden>
Date:   Mon Aug 31 15:35:19 2015 +0200

    gnu: Add r-stringi.
    
    * gnu/packages/statistics.scm (r-stringi): New variable.
---
 gnu/packages/statistics.scm |   29 +++++++++++++++++++++++++++++
 1 files changed, 29 insertions(+), 0 deletions(-)

diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index e3ab548..6d33c36 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -352,3 +352,32 @@ prototype-based, rather than class-based object oriented 
ideas.")
 designed by Cynthia Brewer as described at http://colorbrewer2.org";)
     ;; Includes code licensed under bsd-4
     (license license:asl2.0)))
+
+(define-public r-stringi
+  (package
+    (name "r-stringi")
+    (version "0.5-5")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "mirror://cran/src/contrib/stringi_"
+             version
+             ".tar.gz"))
+       (sha256
+        (base32
+         "183wrrjhpgl1wbnn9lhghyvhz7l2mc64mpcmzplckal7y9j7pmhw"))))
+    (build-system r-build-system)
+    (inputs `(("icu4c" ,icu4c)))
+    (native-inputs `(("pkg-config" ,pkg-config)))
+    (home-page "http://stringi.rexamine.com/";)
+    (synopsis "Character string processing facilities")
+    (description
+     "This package allows for fast, correct, consistent, portable, as well as
+convenient character string/text processing in every locale and any native
+encoding.  Owing to the use of the ICU library, the package provides R users
+with platform-independent functions known to Java, Perl, Python, PHP, and Ruby
+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)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]