mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-19 03:53:22 -04:00
@@ -8,8 +8,20 @@ inherit R-packages
|
|||||||
DESCRIPTION='Basic R Input Output'
|
DESCRIPTION='Basic R Input Output'
|
||||||
KEYWORDS="~amd64"
|
KEYWORDS="~amd64"
|
||||||
LICENSE='MIT'
|
LICENSE='MIT'
|
||||||
|
RESTRICT="!test? ( test )"
|
||||||
|
IUSE="test"
|
||||||
|
DEPEND="
|
||||||
|
test? ( >=dev-R/testthat-2.1.0 )
|
||||||
|
"
|
||||||
|
|
||||||
SUGGESTED_PACKAGES="
|
SUGGESTED_PACKAGES="
|
||||||
dev-R/covr
|
dev-R/covr
|
||||||
>=dev-R/testthat-2.1.0
|
>=dev-R/testthat-2.1.0
|
||||||
"
|
"
|
||||||
|
|
||||||
|
src_test() {
|
||||||
|
if use test; then
|
||||||
|
cd "${WORKDIR}/${P}/tests"
|
||||||
|
NOT_CRAN=true R_LIBS="${T}/R" edo Rscript --vanilla testthat.R
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|||||||
@@ -17,4 +17,7 @@ files and provide more explicit control over line endings.</longdescription>
|
|||||||
<bugs-to>https://github.com/r-lib/brio/issues</bugs-to>
|
<bugs-to>https://github.com/r-lib/brio/issues</bugs-to>
|
||||||
<remote-id type="github">r-lib/brio</remote-id>
|
<remote-id type="github">r-lib/brio</remote-id>
|
||||||
</upstream>
|
</upstream>
|
||||||
|
<use>
|
||||||
|
<flag name="test">Run the tests</flag>
|
||||||
|
</use>
|
||||||
</pkgmetadata>
|
</pkgmetadata>
|
||||||
|
|||||||
Reference in New Issue
Block a user