aboutsummaryrefslogtreecommitdiff
blob: 5d09201887018f47079d0cfa5a9872da2c30bc2c (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
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

inherit R-packages edo

DESCRIPTION='Functions to Inline C, C++, Fortran Function Calls from R'
KEYWORDS="~amd64"
LICENSE='LGPL-2+'
RESTRICT="!test? ( test )"
IUSE="test"

DEPEND="
	test? (
		>=dev-R/Rcpp-0.11.0
		dev-R/tinytest
	)
"

SUGGESTED_PACKAGES="
	>=dev-R/Rcpp-0.11.0
	dev-R/tinytest
"

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