summaryrefslogtreecommitdiff
path: root/dev-R/RcppEigen/RcppEigen-0.3.3.9.2.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'dev-R/RcppEigen/RcppEigen-0.3.3.9.2.ebuild')
-rw-r--r--dev-R/RcppEigen/RcppEigen-0.3.3.9.2.ebuild32
1 files changed, 32 insertions, 0 deletions
diff --git a/dev-R/RcppEigen/RcppEigen-0.3.3.9.2.ebuild b/dev-R/RcppEigen/RcppEigen-0.3.3.9.2.ebuild
new file mode 100644
index 000000000000..78f8d5631e78
--- /dev/null
+++ b/dev-R/RcppEigen/RcppEigen-0.3.3.9.2.ebuild
@@ -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="'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
+}