# -*- 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 hastie glmnet 4.1-10
revision            1
categories-append   math
maintainers         {@barracuda156 macos-powerpc.org:barracuda} 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  bd6a1d9583ba80e05e913fa97cb8bcdac69ed69a \
                    sha256  89a4b5844850b27e87e879a19bd20ed7f1d9f555adc94a8e88935c52677f2e9c \
                    size    2419157

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
