From 1aab90f1b78ff2fd5c10f44e26657b31d7e4670f Mon Sep 17 00:00:00 2001 From: Robert Greener Date: Sat, 2 Jul 2022 11:04:23 +0100 Subject: [PATCH] dev-R/fastmap: new package, added 1.1.0 Signed-off-by: Robert Greener --- dev-R/fastmap/Manifest | 1 + dev-R/fastmap/fastmap-1.1.0.ebuild | 24 ++++++++++++++++++++++++ dev-R/fastmap/metadata.xml | 17 +++++++++++++++++ 3 files changed, 42 insertions(+) create mode 100644 dev-R/fastmap/Manifest create mode 100644 dev-R/fastmap/fastmap-1.1.0.ebuild create mode 100644 dev-R/fastmap/metadata.xml diff --git a/dev-R/fastmap/Manifest b/dev-R/fastmap/Manifest new file mode 100644 index 0000000000..3d7e1864ae --- /dev/null +++ b/dev-R/fastmap/Manifest @@ -0,0 +1 @@ +DIST fastmap_1.1.0.tar.gz 44277 BLAKE2B a090043c15d66387b6caf1ae16aab7873b46c43f5884afc7664e8c16ebbd987d5b2bba762b496a63a45f5939683cf3c77f23b9b6ce5d030d16ca99c0a7c8504a SHA512 f61b777f3ac4bf0a5c778bc07bb09a0244955c8bc13a669225a0c70999182af4012af2d9a792f1d861f7b5394c631e1896bf7ac3f3866b0c96e7e33a5635fb87 diff --git a/dev-R/fastmap/fastmap-1.1.0.ebuild b/dev-R/fastmap/fastmap-1.1.0.ebuild new file mode 100644 index 0000000000..1ec96c08b0 --- /dev/null +++ b/dev-R/fastmap/fastmap-1.1.0.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit R-packages edo + +DESCRIPTION='Fast Data Structures' +KEYWORDS="~amd64" +LICENSE='MIT' +RESTRICT="!test? ( test )" +IUSE="test" +DEPEND=" + test? ( >=dev-R/testthat-0.11.0 ) +" + +SUGGESTED_PACKAGES=" + >=dev-R/testthat-2.1.1 +" + +src_test() { + cd "${WORKDIR}/${P}/tests" + NOT_CRAN=true R_LIBS="${T}/R" edo Rscript --vanilla testthat.R +} diff --git a/dev-R/fastmap/metadata.xml b/dev-R/fastmap/metadata.xml new file mode 100644 index 0000000000..78da9e0146 --- /dev/null +++ b/dev-R/fastmap/metadata.xml @@ -0,0 +1,17 @@ + + + + + me@r0bert.dev + Robert Greener + + Fast implementation of data structures, including a key-value store, stack, and queue. Environments are commonly used as key-value stores in R, 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++. + + + Winston Chang + winston@rstudio.com + + https://github.com/r-lib/fastmap/issues + r-lib/fastmap + +