# -*- 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

# GitHub version is outdated.
R.setup             cran airoldilab sgd 1.1.2
revision            1
categories-append   math
maintainers         nomaintainer
license             GPL-2
description         Stochastic gradient descent for scalable estimation
long_description    {*}${description}
homepage            https://github.com/airoldilab/sgd
checksums           rmd160  d22141f65965d1e4a0529002feb525f577b6fbc4 \
                    sha256  e03024bd8157227ae52d24322e1cf5f0bc6953542c7679f3a35b50ed5bdaec6a \
                    size    685164

depends_lib-append  port:R-BH \
                    port:R-bigmemory \
                    port:R-ggplot2 \
                    port:R-Rcpp \
                    port:R-RcppArmadillo

compilers.setup     require_fortran

depends_test-append port:R-glmnet \
                    port:R-gridExtra \
                    port:R-R.rsp \
                    port:R-testthat

test.run            yes