# Copyright 1999-2026 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=8 inherit R-packages DESCRIPTION='Nonnegative Matrix Factorization' KEYWORDS="~amd64 ~x64-macos ~arm64-macos" SRC_URI="http://cran.r-project.org/src/contrib/nnmf_1.6.tar.gz" LICENSE='GPL-2+' IUSE="${IUSE-} r_suggests_rfast2" R_SUGGESTS="r_suggests_rfast2? ( sci-CRAN/Rfast2 )" DEPEND="sci-CRAN/Rfast sci-CRAN/Compositional virtual/cluster sci-mathematics/glpk >=dev-lang/R-4.0 sci-CRAN/Rcpp virtual/Matrix sci-CRAN/osqp sci-CRAN/quadprog sci-CRAN/rangen sci-CRAN/sparcl " RDEPEND="${DEPEND-} sci-CRAN/Rcpp sci-CRAN/RcppEigen ${R_SUGGESTS-} "