dev-R/sourcetools: new package, add 0.1.7

Signed-off-by: Robert Greener <me@r0bert.dev>
This commit is contained in:
Robert Greener
2022-07-03 09:43:10 +01:00
parent 0951517597
commit 18453454f2
3 changed files with 45 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit R-packages edo
DESCRIPTION='Tools for Reading, Tokenizing and Parsing R Code'
KEYWORDS="~amd64"
LICENSE='MIT'
RESTRICT="!test? ( test )"
IUSE="test"
DEPEND="
test? (
dev-R/testthat
)
"
SUGGESTED_PACKAGES="
dev-R/testthat
"
src_test() {
cd "${WORKDIR}/${P}/tests" || die
NOT_CRAN=true R_LIBS="${T}/R" edo Rscript --vanilla testthat.R
}