blob: 23b3ebacafbeaa54c2b049910cf4e8a9ee3e913c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit R-packages edo
DESCRIPTION='SQLite Interface for R'
KEYWORDS="~amd64"
LICENSE='LGPL-2.1+'
RESTRICT="!test? ( test )"
IUSE="test"
DEPEND="
dev-R/bit64
>=dev-R/blob-1.2.0
>=dev-R/DBI-1.1.0
dev-R/memoise
dev-R/pkgconfig
dev-R/Rcpp
>=dev-R/plogr-0.2.0
test? (
dev-R/callr
>=dev-R/DBItest-1.7.0
dev-R/hms
dev-R/testthat
)
"
SUGGESTED_PACKAGES="
dev-R/callr
>=dev-R/DBItest-1.7.0
dev-R/gert
dev-R/gh
dev-R/knitr
dev-R/rmarkdown
dev-R/hms
dev-R/rvest
dev-R/testthat
dev-R/xml2
"
src_test() {
cd "${WORKDIR}/${P}/tests" || die
NOT_CRAN=true R_LIBS="${T}/R" edo Rscript --vanilla testthat.R
}
|