mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-09 23:23:00 -04:00
dev-R/R_utils: Remove tests
If the tests fail, the ebuild doesn't fail, as the tests don't exit. Indirectly closes a bug. Closes: https://bugs.gentoo.org/856562 Signed-off-by: Robert Greener <me@r0bert.dev>
This commit is contained in:
@@ -3,30 +3,20 @@
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit R-packages edo
|
||||
inherit R-packages
|
||||
|
||||
DESCRIPTION="Various Programming Utilities"
|
||||
KEYWORDS="~amd64"
|
||||
LICENSE='LGPL-2.1+'
|
||||
CRAN_PN="R.utils"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
SRC_URI="mirror://cran/src/contrib/${CRAN_PN}_${PV}.tar.gz"
|
||||
|
||||
DEPEND="
|
||||
>=dev-R/R_oo-1.24.0
|
||||
>=dev-R/R_methodsS3-1.8.1
|
||||
test? ( >=dev-R/digest-0.6.10 )
|
||||
"
|
||||
|
||||
SUGGESTED_PACKAGES="
|
||||
>=dev-R/digest-0.6.10
|
||||
"
|
||||
|
||||
src_test() {
|
||||
cd "${WORKDIR}/${P}/tests" || die
|
||||
for i in *.R; do
|
||||
R_LIBS="${T}/R" edo Rscript --vanilla $i
|
||||
done
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user