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

R.setup             cran cran glmnet 4.1-8
revision            1
categories-append   math
maintainers         {@barracuda156 gmail.com:vital.had} openmaintainer
license             GPL-2
description         Lasso and elastic-net regularized generalized linear models
long_description    Extremely efficient procedures for fitting the entire lasso \
                    or elastic-net regularization path for linear regression, logistic \
                    and multinomial regression models, Poisson regression, Cox model, \
                    multiple-response Gaussian and the grouped multinomial regression.
homepage            https://glmnet.stanford.edu
checksums           rmd160  ce6a9ba8325d06231bb9788c0142e68ddcad98f5 \
                    sha256  1ddbe5ce07076d1bdf58b0202ebd0ceac8eeb4796c5175681adb9e58c30ddcfe \
                    size    2439515

depends_lib-append  port:R-foreach \
                    port:R-Rcpp \
                    port:R-RcppEigen \
                    port:R-shape

compiler.cxx_standard 2017
compilers.setup     require_fortran

depends_test-append port:R-knitr \
                    port:R-lars \
                    port:R-rmarkdown \
                    port:R-testthat \
                    port:R-xfun

test.run            yes
