dev-R/brio: Remove test flag from metadata and use test in src_test

Signed-off-by: Robert Greener <me@r0bert.dev>
This commit is contained in:
Robert Greener
2022-07-02 09:42:04 +01:00
parent 99b54beeb8
commit 3da324e374
2 changed files with 2 additions and 7 deletions

View File

@@ -20,8 +20,6 @@ SUGGESTED_PACKAGES="
"
src_test() {
if use test; then
cd "${WORKDIR}/${P}/tests"
NOT_CRAN=true R_LIBS="${T}/R" edo Rscript --vanilla testthat.R
fi
cd "${WORKDIR}/${P}/tests"
NOT_CRAN=true R_LIBS="${T}/R" edo Rscript --vanilla testthat.R
}

View File

@@ -17,7 +17,4 @@ files and provide more explicit control over line endings.</longdescription>
<bugs-to>https://github.com/r-lib/brio/issues</bugs-to>
<remote-id type="github">r-lib/brio</remote-id>
</upstream>
<use>
<flag name="test">Run the tests</flag>
</use>
</pkgmetadata>