diff options
author | Robert Greener <me@r0bert.dev> | 2022-07-03 09:59:31 +0100 |
---|---|---|
committer | Robert Greener <me@r0bert.dev> | 2022-07-03 09:59:31 +0100 |
commit | af5f5eedda7e492a34bc58238647a5a87a153c19 (patch) | |
tree | 2e649ad0734f3eb8b0ced1e93cdbfa86e9e5a46d /dev-R | |
parent | dev-R/shiny: new package, add 1.7.1 (diff) | |
download | guru-af5f5eedda7e492a34bc58238647a5a87a153c19.tar.gz guru-af5f5eedda7e492a34bc58238647a5a87a153c19.tar.bz2 guru-af5f5eedda7e492a34bc58238647a5a87a153c19.zip |
dev-R/sass: enable tests
Signed-off-by: Robert Greener <me@r0bert.dev>
Diffstat (limited to 'dev-R')
-rw-r--r-- | dev-R/sass/sass-0.4.1.ebuild | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/dev-R/sass/sass-0.4.1.ebuild b/dev-R/sass/sass-0.4.1.ebuild index 7a62666ff..9f85c6538 100644 --- a/dev-R/sass/sass-0.4.1.ebuild +++ b/dev-R/sass/sass-0.4.1.ebuild @@ -3,26 +3,26 @@ EAPI=7 -inherit R-packages #edo +inherit R-packages edo DESCRIPTION="Syntactically Awesome Style Sheets ('Sass')" KEYWORDS="~amd64" LICENSE='MIT' -# Tests need shiny (circ. dep, will enable once added) -#RESTRICT="!test? ( test )" -#IUSE="test" +RESTRICT="!test? ( test )" +IUSE="test" DEPEND=" dev-R/fs >=dev-R/rlang-0.4.10 >=dev-R/htmltools-0.5.1 dev-R/R6 - dev-R/rappdirs" -# test? ( -# dev-R/withr -# dev-R/testthat -# dev-R/shiny -# ) + dev-R/rappdirs + test? ( + dev-R/withr + dev-R/testthat + dev-R/shiny + ) +" SUGGESTED_PACKAGES=" dev-R/testthat @@ -33,7 +33,7 @@ SUGGESTED_PACKAGES=" dev-R/curl " -#src_test() { -# cd "${WORKDIR}/${P}/tests" || die -# NOT_CRAN=true R_LIBS="${T}/R" edo Rscript --vanilla test-all.R -#} +src_test() { + cd "${WORKDIR}/${P}/tests" || die + R_LIBS="${T}/R" edo Rscript --vanilla testthat.R +} |