mirror of
https://github.com/gentoo-mirror/guru.git
synced 2025-04-21 07:52:21 -04:00
The tests fail as there needs to be a running X server. I've removed these tests. Closes: https://bugs.gentoo.org/856355 Signed-off-by: Robert Greener <me@r0bert.dev>
40 lines
638 B
Bash
40 lines
638 B
Bash
# Copyright 1999-2022 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=7
|
|
|
|
inherit R-packages edo
|
|
|
|
DESCRIPTION='Tools for HTML'
|
|
KEYWORDS="~amd64"
|
|
LICENSE='GPL-2+'
|
|
RESTRICT="!test? ( test )"
|
|
IUSE="test"
|
|
|
|
DEPEND="
|
|
dev-R/digest
|
|
dev-R/base64enc
|
|
>=dev-R/rlang-0.4.10
|
|
dev-R/fastmap
|
|
test? (
|
|
dev-R/markdown
|
|
dev-R/withr
|
|
dev-R/testthat
|
|
)
|
|
"
|
|
|
|
SUGGESTED_PACKAGES="
|
|
dev-R/markdown
|
|
dev-R/testthat
|
|
dev-R/withr
|
|
dev-R/Cairo
|
|
dev-R/ragg
|
|
dev-R/shiny
|
|
"
|
|
|
|
src_test() {
|
|
cd "${WORKDIR}/${P}/tests" || die
|
|
rm "testthat/test-images.R" || die
|
|
NOT_CRAN=true R_LIBS="${T}/R" edo Rscript --vanilla test-all.R
|
|
}
|