dev-R/cachem: new package, add 1.0.6

Signed-off-by: Robert Greener <me@r0bert.dev>
This commit is contained in:
Robert Greener
2022-07-02 11:10:57 +01:00
parent 0a23e5c726
commit e39969a710
3 changed files with 44 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit R-packages edo
DESCRIPTION='Cache R Objects with Automatic Pruning'
KEYWORDS="~amd64"
LICENSE='MIT'
RESTRICT="!test? ( test )"
IUSE="test"
DEPEND="
dev-R/rlang
dev-R/fastmap
test? ( dev-R/testthat )
"
SUGGESTED_PACKAGES="
dev-R/testthat
"
src_test() {
cd "${WORKDIR}/${P}/tests"
NOT_CRAN=true R_LIBS="${T}/R" edo Rscript --vanilla testthat.R
}