[Top][All Lists]

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

13/39: gnu: Add r-fastmatch.

From: Ricardo Wurmus
Subject: 13/39: gnu: Add r-fastmatch.
Date: Thu, 17 Aug 2017 11:27:34 -0400 (EDT)

rekado pushed a commit to branch master
in repository guix.

commit f2e974e1a2c1ef1341484d852123fc88919621af
Author: Ricardo Wurmus <address@hidden>
Date:   Mon Aug 14 21:43:07 2017 +0200

    gnu: Add r-fastmatch.
    * gnu/packages/cran.scm (r-fastmatch): New variable.
 gnu/packages/cran.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index abdff54..c959bee 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -366,3 +366,24 @@ compare different dendrograms to one another.")
 powerful Perl module @code{Getopt::Long} and with some adaptation for easier
 use in R.  It also provides a simple way for variable interpolation in R.")
     (license license:gpl2+)))
+(define-public r-fastmatch
+  (package
+    (name "r-fastmatch")
+    (version "1.1-0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "fastmatch" version))
+       (sha256
+        (base32
+         "0z80jxkygmzn11sq0c2iz357s9bpki548lg926g85gldhfj1md90"))))
+    (build-system r-build-system)
+    (home-page "";)
+    (synopsis "Fast match function")
+    (description
+     "This package provides a fast @code{match} replacement for cases that
+require repeated look-ups.  It is slightly faster that R's built-in
address@hidden function on first match against a table, but extremely fast on
+any subsequent lookup as it keeps the hash table in memory.")
+    (license license:gpl2)))

reply via email to

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