summaryrefslogtreecommitdiff
path: root/dev-R/RcppParallel/RcppParallel-5.1.5.ebuild
blob: 81e1c8b495d4869d04e7b5d51c94bf5baa4bbb31 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

inherit R-packages edo

DESCRIPTION="Parallel Programming Tools for 'Rcpp'"
KEYWORDS="~amd64"
LICENSE='GPL-3+'
RESTRICT="!test? ( test )"
IUSE="test"

DEPEND="
	test? (
		dev-R/RUnit
		dev-R/Rcpp
	)
	dev-cpp/tbb
"

SUGGESTED_PACKAGES="
	dev-R/RUnit
	dev-R/Rcpp
	dev-R/knitr
	dev-R/rmarkdown
"

src_test() {
	cd "${WORKDIR}/${P}/tests" || die
	R_LIBS="${T}/R" edo Rscript --vanilla doRUnit.R
}