2022-07-02 11:04:23 +01:00
|
|
|
# Copyright 1999-2022 Gentoo Authors
|
|
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
|
|
|
|
|
EAPI=7
|
|
|
|
|
|
|
|
|
|
inherit R-packages edo
|
|
|
|
|
|
|
|
|
|
DESCRIPTION='Fast Data Structures'
|
|
|
|
|
KEYWORDS="~amd64"
|
|
|
|
|
LICENSE='MIT'
|
|
|
|
|
RESTRICT="!test? ( test )"
|
|
|
|
|
IUSE="test"
|
|
|
|
|
DEPEND="
|
2022-07-02 11:06:59 +01:00
|
|
|
test? ( >=dev-R/testthat-2.1.1 )
|
2022-07-02 11:04:23 +01:00
|
|
|
"
|
|
|
|
|
|
|
|
|
|
SUGGESTED_PACKAGES="
|
|
|
|
|
>=dev-R/testthat-2.1.1
|
|
|
|
|
"
|
|
|
|
|
|
|
|
|
|
src_test() {
|
2022-07-02 19:29:38 +01:00
|
|
|
cd "${WORKDIR}/${P}/tests" || die
|
2022-07-02 11:04:23 +01:00
|
|
|
NOT_CRAN=true R_LIBS="${T}/R" edo Rscript --vanilla testthat.R
|
|
|
|
|
}
|