guru/dev-R/RcppEigen/RcppEigen-0.3.3.9.2.ebuild
Robert Greener d5116714ad
dev-R/RcppEigen: new package, add 0.3.3.9.2
Signed-off-by: Robert Greener <me@r0bert.dev>
2022-07-03 14:47:48 +01:00

33 lines
582 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="'Rcpp' Integration for the 'Eigen' Templated Linear Algebra Library"
KEYWORDS="~amd64"
LICENSE='GPL-2+'
RESTRICT="!test? ( test )"
IUSE="test"
DEPEND="
|| ( dev-R/Matrix dev-lang/R[-minimal] )
dev-R/Rcpp
test? (
dev-R/tinytest
)
"
SUGGESTED_PACKAGES="
dev-R/inline
dev-R/tinytest
dev-R/pkgKitten
dev-R/microbenchmark
"
src_test() {
cd "${WORKDIR}/${P}/tests" || die
R_LIBS="${T}/R" edo Rscript --vanilla tinytest.R
}