mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-14 17:43:11 -04:00
dev-R/htmlwidgets: new package, add 1.5.4
Signed-off-by: Robert Greener <me@r0bert.dev>
This commit is contained in:
32
dev-R/htmlwidgets/htmlwidgets-1.5.4.ebuild
Normal file
32
dev-R/htmlwidgets/htmlwidgets-1.5.4.ebuild
Normal file
@@ -0,0 +1,32 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit R-packages edo
|
||||
|
||||
DESCRIPTION="HTML Widgets for R"
|
||||
KEYWORDS="~amd64"
|
||||
LICENSE='MIT'
|
||||
RESTRICT="!test? ( test )"
|
||||
IUSE="test"
|
||||
|
||||
DEPEND="
|
||||
>=dev-R/htmltools-0.3
|
||||
>=dev-R/jsonlite-0.9.16
|
||||
dev-R/yaml
|
||||
test? (
|
||||
dev-R/testthat
|
||||
)
|
||||
"
|
||||
|
||||
SUGGESTED_PACKAGES="
|
||||
>=dev-R/knitr-1.8
|
||||
dev-R/rmarkdown
|
||||
dev-R/testthat
|
||||
"
|
||||
|
||||
src_test() {
|
||||
cd "${WORKDIR}/${P}/tests" || die
|
||||
NOT_CRAN=true R_LIBS="${T}/R" edo Rscript --vanilla testthat.R
|
||||
}
|
||||
Reference in New Issue
Block a user