blob: 3d3f0db6712511273fb227ee45b0dd79f5b18e8c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit R-packages edo
DESCRIPTION='Code analysis tools for R.'
KEYWORDS="~amd64"
LICENSE='GPL-2+'
RESTRICT="!test? ( test )"
IUSE="test"
CRAN_PV="$(ver_rs 2 -)"
SRC_URI="mirror://cran/src/contrib/${PN}_${CRAN_PV}.tar.gz"
src_test() {
cd "${WORKDIR}/${P}/tests" || die
R_LIBS="${T}/R" edo Rscript --vanilla tests.R
}
|