# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4

PortSystem          1.0
PortGroup           R 1.0

# Revert to GitHub once updated there.
R.setup             cran dselivanov rsparse 0.5.3 v
revision            1
categories-append   math
maintainers         {@barracuda156 macos-powerpc.org:barracuda} openmaintainer
license             GPL-2+
description         Statistical learning on sparse matrices
long_description    {*}${description}
checksums           rmd160  5ccb6c7d8eff6c1d5d783c751a513c9b52ec4a0c \
                    sha256  69e1491a6feed96042a04fd9a06ba50c10d45ce9d1f9fbf1f7000ad45e97f17b \
                    size    214555

depends_lib-append  path:lib/libopenblas.dylib:OpenBLAS \
                    port:R-data.table \
                    port:R-float \
                    port:R-lgr \
                    port:R-MatrixExtra \
                    port:R-Rcpp \
                    port:R-RcppArmadillo \
                    port:R-RhpcBLASctl

compilers.setup     require_fortran

depends_test-append port:R-covr \
                    port:R-testthat

test.run            yes
