# -*- 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.2 v
revision            0
categories-append   math
maintainers         {@barracuda156 gmail.com:vital.had} openmaintainer
license             GPL-2+
description         Statistical learning on sparse matrices
long_description    {*}${description}
checksums           rmd160  87c9909e154abb039ad730188b0a01d5d48b4928 \
                    sha256  d7632e153ae4f97199cf023fdddfb1906a93f1451700c98dd3722afa17ac8028 \
                    size    214600

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
