dev-R/*: die if tests dir didn't exist

Signed-off-by: Robert Greener <me@r0bert.dev>
This commit is contained in:
Robert Greener
2022-07-02 19:29:38 +01:00
parent 76add942a1
commit 83fab005a8
24 changed files with 24 additions and 24 deletions

View File

@@ -15,6 +15,6 @@ CRAN_PV="0.2-18"
SRC_URI="mirror://cran/src/contrib/${PN}_${CRAN_PV}.tar.gz"
src_test() {
cd "${WORKDIR}/${P}/tests"
cd "${WORKDIR}/${P}/tests" || die
R_LIBS="${T}/R" edo Rscript --vanilla tests.R
}