Files
guru/dev-R/future/future-1.26.1.ebuild
Robert Greener 83fab005a8 dev-R/*: die if tests dir didn't exist
Signed-off-by: Robert Greener <me@r0bert.dev>
2022-07-02 19:29:38 +01:00

34 lines
609 B
Bash

# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit R-packages edo
DESCRIPTION="Unified Parallel and Distributed Processing in R for Everyone"
KEYWORDS="~amd64"
LICENSE='LGPL-2.1+'
RESTRICT="!test? ( test )"
IUSE="test"
DEPEND="
dev-R/digest
>=dev-R/globals-0.15.0
>=dev-R/listenv-0.8.0
>=dev-R/parallelly-1.30.0
test? ( dev-R/RhpcBLASctl )
"
SUGGESTED_PACKAGES="
dev-R/RhpcBLASctl
dev-R/R-rsp
dev-R/markdown
"
src_test() {
cd "${WORKDIR}/${P}/tests" || die
for i in *.R; do
R_LIBS="${T}/R" edo Rscript --vanilla $i
done
}