guix-commits
[Top][All Lists]
Advanced

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

06/47: gnu: Add r-fastmap.


From: guix-commits
Subject: 06/47: gnu: Add r-fastmap.
Date: Fri, 13 Dec 2019 16:42:14 -0500 (EST)

rekado pushed a commit to branch master
in repository guix.

commit c20a81eed1b22b4cec136f78925bcc4d2be2393f
Author: Ricardo Wurmus <address@hidden>
Date:   Fri Dec 13 15:22:10 2019 +0100

    gnu: Add r-fastmap.
    
    * gnu/packages/cran.scm (r-fastmap): 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 3b7cb48..de66afc 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -729,6 +729,30 @@ objects in HTML format.")
 and vice-versa.")
     (license license:gpl2+)))
 
+(define-public r-fastmap
+  (package
+    (name "r-fastmap")
+    (version "1.0.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "fastmap" version))
+       (sha256
+        (base32
+         "1v7sp56xiha0bh78g3w92k52p9vkp7ryzpw0z66nyddxzrfv0y27"))))
+    (properties `((upstream-name . "fastmap")))
+    (build-system r-build-system)
+    (home-page "https://r-lib.github.io/fastmap/";)
+    (synopsis "Fast implementation of a key-value store")
+    (description
+     "This package provides a fast implementation of a key-value store.
+Environments are commonly used as key-value stores, but every time a new key
+is used, it is added to R's global symbol table, causing a small amount of
+memory leakage.  This can be problematic in cases where many different keys
+are used.  Fastmap avoids this memory leak issue by implementing the map using
+data structures in C++.")
+    (license license:expat)))
+
 (define-public r-shiny
   (package
     (name "r-shiny")



reply via email to

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