blob: 78f8d5631e781f20feaea42418b5a81869a537c4 (
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="'Rcpp' Integration for the 'Eigen' Templated Linear Algebra Library"
KEYWORDS="~amd64"
LICENSE='GPL-2+'
RESTRICT="!test? ( test )"
IUSE="test"
DEPEND="
|| ( dev-R/Matrix dev-lang/R[-minimal] )
dev-R/Rcpp
test? (
dev-R/tinytest
)
"
SUGGESTED_PACKAGES="
dev-R/inline
dev-R/tinytest
dev-R/pkgKitten
dev-R/microbenchmark
"
src_test() {
cd "${WORKDIR}/${P}/tests" || die
R_LIBS="${T}/R" edo Rscript --vanilla tinytest.R
}
|