commit: 83fab005a8fc37a3b07eec983ce3019110d8a189 Author: Robert Greener <me <AT> r0bert <DOT> dev> AuthorDate: Sat Jul 2 18:29:38 2022 +0000 Commit: Robert Greener <me <AT> r0bert <DOT> dev> CommitDate: Sat Jul 2 18:29:38 2022 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=83fab005
dev-R/*: die if tests dir didn't exist Signed-off-by: Robert Greener <me <AT> r0bert.dev> dev-R/DBI/DBI-1.1.3.ebuild | 2 +- dev-R/RSQLite/RSQLite-2.2.14.ebuild | 2 +- dev-R/bit/bit-4.0.4.ebuild | 2 +- dev-R/blob/blob-1.2.3.ebuild | 2 +- dev-R/brio/brio-1.1.3.ebuild | 2 +- dev-R/cachem/cachem-1.0.6.ebuild | 2 +- dev-R/codetools/codetools-0.2.18.ebuild | 2 +- dev-R/dbplyr/dbplyr-2.2.1.ebuild | 2 +- dev-R/fastmap/fastmap-1.1.0.ebuild | 2 +- dev-R/forcats/forcats-0.5.1.ebuild | 2 +- dev-R/future/future-1.26.1.ebuild | 2 +- dev-R/globals/globals-0.15.1.ebuild | 2 +- dev-R/hms/hms-1.1.1.ebuild | 2 +- dev-R/httpuv/httpuv-1.6.5.ebuild | 2 +- dev-R/later/later-1.3.0.ebuild | 2 +- dev-R/listenv/listenv-0.8.0.ebuild | 2 +- dev-R/lubridate/lubridate-1.8.0.ebuild | 2 +- dev-R/memoise/memoise-2.0.1.ebuild | 2 +- dev-R/parallelly/parallelly-1.32.0.ebuild | 2 +- dev-R/promises/promises-1.2.0.1.ebuild | 2 +- dev-R/rvest/rvest-1.0.2.ebuild | 2 +- dev-R/selectr/selectr-0.4.2.ebuild | 2 +- dev-R/webfakes/webfakes-1.1.3.ebuild | 2 +- dev-R/websocket/websocket-1.4.1.ebuild | 2 +- 24 files changed, 24 insertions(+), 24 deletions(-) diff --git a/dev-R/DBI/DBI-1.1.3.ebuild b/dev-R/DBI/DBI-1.1.3.ebuild index 93031bde0..411077757 100644 --- a/dev-R/DBI/DBI-1.1.3.ebuild +++ b/dev-R/DBI/DBI-1.1.3.ebuild @@ -38,6 +38,6 @@ SUGGESTED_PACKAGES=" " src_test() { - cd "${WORKDIR}/${P}/tests" + cd "${WORKDIR}/${P}/tests" || die NOT_CRAN=true R_LIBS="${T}/R" edo Rscript --vanilla testthat.R } diff --git a/dev-R/RSQLite/RSQLite-2.2.14.ebuild b/dev-R/RSQLite/RSQLite-2.2.14.ebuild index a4ab0ea09..23b3ebaca 100644 --- a/dev-R/RSQLite/RSQLite-2.2.14.ebuild +++ b/dev-R/RSQLite/RSQLite-2.2.14.ebuild @@ -40,6 +40,6 @@ SUGGESTED_PACKAGES=" " src_test() { - cd "${WORKDIR}/${P}/tests" + cd "${WORKDIR}/${P}/tests" || die NOT_CRAN=true R_LIBS="${T}/R" edo Rscript --vanilla testthat.R } diff --git a/dev-R/bit/bit-4.0.4.ebuild b/dev-R/bit/bit-4.0.4.ebuild index b67c9950a..f36e75817 100644 --- a/dev-R/bit/bit-4.0.4.ebuild +++ b/dev-R/bit/bit-4.0.4.ebuild @@ -25,6 +25,6 @@ SUGGESTED_PACKAGES=" " src_test() { - cd "${WORKDIR}/${P}/tests" + cd "${WORKDIR}/${P}/tests" || die NOT_CRAN=true R_LIBS="${T}/R" edo Rscript --vanilla testthat.R } diff --git a/dev-R/blob/blob-1.2.3.ebuild b/dev-R/blob/blob-1.2.3.ebuild index 26aab8e6d..ec2926a87 100644 --- a/dev-R/blob/blob-1.2.3.ebuild +++ b/dev-R/blob/blob-1.2.3.ebuild @@ -24,6 +24,6 @@ SUGGESTED_PACKAGES=" " src_test() { - cd "${WORKDIR}/${P}/tests" + cd "${WORKDIR}/${P}/tests" || die NOT_CRAN=true R_LIBS="${T}/R" edo Rscript --vanilla testthat.R } diff --git a/dev-R/brio/brio-1.1.3.ebuild b/dev-R/brio/brio-1.1.3.ebuild index 97925c9a5..ed1fc9569 100644 --- a/dev-R/brio/brio-1.1.3.ebuild +++ b/dev-R/brio/brio-1.1.3.ebuild @@ -20,6 +20,6 @@ SUGGESTED_PACKAGES=" " src_test() { - cd "${WORKDIR}/${P}/tests" + cd "${WORKDIR}/${P}/tests" || die NOT_CRAN=true R_LIBS="${T}/R" edo Rscript --vanilla testthat.R } diff --git a/dev-R/cachem/cachem-1.0.6.ebuild b/dev-R/cachem/cachem-1.0.6.ebuild index b17a349e7..0f1431971 100644 --- a/dev-R/cachem/cachem-1.0.6.ebuild +++ b/dev-R/cachem/cachem-1.0.6.ebuild @@ -21,6 +21,6 @@ SUGGESTED_PACKAGES=" " src_test() { - cd "${WORKDIR}/${P}/tests" + cd "${WORKDIR}/${P}/tests" || die NOT_CRAN=true R_LIBS="${T}/R" edo Rscript --vanilla testthat.R } diff --git a/dev-R/codetools/codetools-0.2.18.ebuild b/dev-R/codetools/codetools-0.2.18.ebuild index f65323035..ac0e5c8d9 100644 --- a/dev-R/codetools/codetools-0.2.18.ebuild +++ b/dev-R/codetools/codetools-0.2.18.ebuild @@ -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 } diff --git a/dev-R/dbplyr/dbplyr-2.2.1.ebuild b/dev-R/dbplyr/dbplyr-2.2.1.ebuild index 6d863f28e..cd13df114 100644 --- a/dev-R/dbplyr/dbplyr-2.2.1.ebuild +++ b/dev-R/dbplyr/dbplyr-2.2.1.ebuild @@ -53,6 +53,6 @@ SUGGESTED_PACKAGES=" " src_test() { - cd "${WORKDIR}/${P}/tests" + cd "${WORKDIR}/${P}/tests" || die NOT_CRAN=true R_LIBS="${T}/R" edo Rscript --vanilla testthat.R } diff --git a/dev-R/fastmap/fastmap-1.1.0.ebuild b/dev-R/fastmap/fastmap-1.1.0.ebuild index f2b8bd7e9..50d9d29a1 100644 --- a/dev-R/fastmap/fastmap-1.1.0.ebuild +++ b/dev-R/fastmap/fastmap-1.1.0.ebuild @@ -19,6 +19,6 @@ SUGGESTED_PACKAGES=" " src_test() { - cd "${WORKDIR}/${P}/tests" + cd "${WORKDIR}/${P}/tests" || die NOT_CRAN=true R_LIBS="${T}/R" edo Rscript --vanilla testthat.R } diff --git a/dev-R/forcats/forcats-0.5.1.ebuild b/dev-R/forcats/forcats-0.5.1.ebuild index 940baa975..1a686b10e 100644 --- a/dev-R/forcats/forcats-0.5.1.ebuild +++ b/dev-R/forcats/forcats-0.5.1.ebuild @@ -32,6 +32,6 @@ SUGGESTED_PACKAGES=" " src_test() { - cd "${WORKDIR}/${P}/tests" + cd "${WORKDIR}/${P}/tests" || die NOT_CRAN=true R_LIBS="${T}/R" edo Rscript --vanilla testthat.R } diff --git a/dev-R/future/future-1.26.1.ebuild b/dev-R/future/future-1.26.1.ebuild index dcd11be15..be0230e5c 100644 --- a/dev-R/future/future-1.26.1.ebuild +++ b/dev-R/future/future-1.26.1.ebuild @@ -26,7 +26,7 @@ SUGGESTED_PACKAGES=" " src_test() { - cd "${WORKDIR}/${P}/tests" + cd "${WORKDIR}/${P}/tests" || die for i in *.R; do R_LIBS="${T}/R" edo Rscript --vanilla $i done diff --git a/dev-R/globals/globals-0.15.1.ebuild b/dev-R/globals/globals-0.15.1.ebuild index c2f288009..831b2a447 100644 --- a/dev-R/globals/globals-0.15.1.ebuild +++ b/dev-R/globals/globals-0.15.1.ebuild @@ -14,7 +14,7 @@ DEPEND=" " src_test() { - cd "${WORKDIR}/${P}/tests" + cd "${WORKDIR}/${P}/tests" || die for i in *.R; do R_LIBS="${T}/R" edo Rscript --vanilla $i done diff --git a/dev-R/hms/hms-1.1.1.ebuild b/dev-R/hms/hms-1.1.1.ebuild index bb7a230f4..c2ed3423b 100644 --- a/dev-R/hms/hms-1.1.1.ebuild +++ b/dev-R/hms/hms-1.1.1.ebuild @@ -31,6 +31,6 @@ SUGGESTED_PACKAGES=" " src_test() { - cd "${WORKDIR}/${P}/tests" + cd "${WORKDIR}/${P}/tests" || die NOT_CRAN=true R_LIBS="${T}/R" edo Rscript --vanilla testthat.R } diff --git a/dev-R/httpuv/httpuv-1.6.5.ebuild b/dev-R/httpuv/httpuv-1.6.5.ebuild index 6f510a633..32bd94899 100644 --- a/dev-R/httpuv/httpuv-1.6.5.ebuild +++ b/dev-R/httpuv/httpuv-1.6.5.ebuild @@ -33,6 +33,6 @@ SUGGESTED_PACKAGES=" " src_test() { - cd "${WORKDIR}/${P}/tests" + cd "${WORKDIR}/${P}/tests" || die NOT_CRAN=true R_LIBS="${T}/R" edo Rscript --vanilla testthat.R } diff --git a/dev-R/later/later-1.3.0.ebuild b/dev-R/later/later-1.3.0.ebuild index 716e76573..571d69aa9 100644 --- a/dev-R/later/later-1.3.0.ebuild +++ b/dev-R/later/later-1.3.0.ebuild @@ -26,6 +26,6 @@ SUGGESTED_PACKAGES=" " src_test() { - cd "${WORKDIR}/${P}/tests" + cd "${WORKDIR}/${P}/tests" || die R_LIBS="${T}/R" edo Rscript --vanilla testthat.R } diff --git a/dev-R/listenv/listenv-0.8.0.ebuild b/dev-R/listenv/listenv-0.8.0.ebuild index f3914f080..55067ede7 100644 --- a/dev-R/listenv/listenv-0.8.0.ebuild +++ b/dev-R/listenv/listenv-0.8.0.ebuild @@ -16,7 +16,7 @@ SUGGESTED_PACKAGES=" " src_test() { - cd "${WORKDIR}/${P}/tests" + cd "${WORKDIR}/${P}/tests" || die for i in *.R; do R_LIBS="${T}/R" edo Rscript --vanilla $i done diff --git a/dev-R/lubridate/lubridate-1.8.0.ebuild b/dev-R/lubridate/lubridate-1.8.0.ebuild index 498609ff4..b05398c71 100644 --- a/dev-R/lubridate/lubridate-1.8.0.ebuild +++ b/dev-R/lubridate/lubridate-1.8.0.ebuild @@ -29,6 +29,6 @@ SUGGESTED_PACKAGES=" " src_test() { - cd "${WORKDIR}/${P}/tests" + cd "${WORKDIR}/${P}/tests" || die R_LIBS="${T}/R" edo Rscript --vanilla testthat.R } diff --git a/dev-R/memoise/memoise-2.0.1.ebuild b/dev-R/memoise/memoise-2.0.1.ebuild index 79fcf9f65..1604d80a1 100644 --- a/dev-R/memoise/memoise-2.0.1.ebuild +++ b/dev-R/memoise/memoise-2.0.1.ebuild @@ -27,6 +27,6 @@ SUGGESTED_PACKAGES=" " src_test() { - cd "${WORKDIR}/${P}/tests" + cd "${WORKDIR}/${P}/tests" || die NOT_CRAN=true R_LIBS="${T}/R" edo Rscript --vanilla testthat.R } diff --git a/dev-R/parallelly/parallelly-1.32.0.ebuild b/dev-R/parallelly/parallelly-1.32.0.ebuild index f5e040ac7..516aef1de 100644 --- a/dev-R/parallelly/parallelly-1.32.0.ebuild +++ b/dev-R/parallelly/parallelly-1.32.0.ebuild @@ -10,7 +10,7 @@ KEYWORDS="~amd64" LICENSE='LGPL-2.1+' src_test() { - cd "${WORKDIR}/${P}/tests" + cd "${WORKDIR}/${P}/tests" || die for i in *.R; do R_LIBS="${T}/R" edo Rscript --vanilla $i done diff --git a/dev-R/promises/promises-1.2.0.1.ebuild b/dev-R/promises/promises-1.2.0.1.ebuild index 5ec488480..665514c98 100644 --- a/dev-R/promises/promises-1.2.0.1.ebuild +++ b/dev-R/promises/promises-1.2.0.1.ebuild @@ -36,6 +36,6 @@ SUGGESTED_PACKAGES=" " src_test() { - cd "${WORKDIR}/${P}/tests" + cd "${WORKDIR}/${P}/tests" || die NOT_CRAN=true R_LIBS="${T}/R" edo Rscript --vanilla testthat.R } diff --git a/dev-R/rvest/rvest-1.0.2.ebuild b/dev-R/rvest/rvest-1.0.2.ebuild index 08382d8e9..60c167e25 100644 --- a/dev-R/rvest/rvest-1.0.2.ebuild +++ b/dev-R/rvest/rvest-1.0.2.ebuild @@ -39,7 +39,7 @@ SUGGESTED_PACKAGES=" " src_test() { - cd "${WORKDIR}/${P}/tests" + cd "${WORKDIR}/${P}/tests" || die # These require network access rm testthat/test-session.R rm testthat/test-rename.R diff --git a/dev-R/selectr/selectr-0.4.2.ebuild b/dev-R/selectr/selectr-0.4.2.ebuild index 8bfec4c58..fc058ca73 100644 --- a/dev-R/selectr/selectr-0.4.2.ebuild +++ b/dev-R/selectr/selectr-0.4.2.ebuild @@ -29,7 +29,7 @@ SUGGESTED_PACKAGES=" " src_test() { - cd "${WORKDIR}/${P}/tests" + cd "${WORKDIR}/${P}/tests" || die NOT_CRAN=true R_LIBS="${T}/R" edo Rscript --vanilla test-all.R } diff --git a/dev-R/webfakes/webfakes-1.1.3.ebuild b/dev-R/webfakes/webfakes-1.1.3.ebuild index 2c1d6dfee..53aa6d7df 100644 --- a/dev-R/webfakes/webfakes-1.1.3.ebuild +++ b/dev-R/webfakes/webfakes-1.1.3.ebuild @@ -37,6 +37,6 @@ SUGGESTED_PACKAGES=" " src_test() { - cd "${WORKDIR}/${P}/tests" + cd "${WORKDIR}/${P}/tests" || die NOT_CRAN=true R_LIBS="${T}/R" edo Rscript --vanilla testthat.R } diff --git a/dev-R/websocket/websocket-1.4.1.ebuild b/dev-R/websocket/websocket-1.4.1.ebuild index a1d71e269..e1a5c7596 100644 --- a/dev-R/websocket/websocket-1.4.1.ebuild +++ b/dev-R/websocket/websocket-1.4.1.ebuild @@ -30,6 +30,6 @@ SUGGESTED_PACKAGES=" " src_test() { - cd "${WORKDIR}/${P}/tests" + cd "${WORKDIR}/${P}/tests" || die NOT_CRAN=true R_LIBS="${T}/R" edo Rscript --vanilla testthat.R }