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
}