dev-R/codetools: new package, add 0.2.18

Signed-off-by: Robert Greener <me@r0bert.dev>
This commit is contained in:
Robert Greener
2022-07-02 16:42:37 +01:00
parent ebd41825b3
commit b30bd4d4b7
3 changed files with 37 additions and 0 deletions

View File

@@ -0,0 +1,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="0.2-18"
SRC_URI="mirror://cran/src/contrib/${PN}_${CRAN_PV}.tar.gz"
src_test() {
cd "${WORKDIR}/${P}/tests"
R_LIBS="${T}/R" edo Rscript --vanilla tests.R
}