# -*- 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 lags behind.
R.setup             cran petersonR sparseR 0.3.1
revision            0
categories-append   math
platforms           {darwin any}
maintainers         {@barracuda156 gmail.com:vital.had} openmaintainer
license             GPL-3
description         Variable selection under ranked sparsity principles \
                    for interactions and polynomials
long_description    {*}${description}
homepage            https://petersonr.github.io/sparseR
checksums           rmd160  645f5b60e1d37f0edfc96f7707b4740355a6d223 \
                    sha256  9c9b7c89e63ca97a4e94a41e5ea944fd178b0e410c3dc853f9c334b22a20c198 \
                    size    1859722
supported_archs     noarch

depends_lib-append  port:R-dplyr \
                    port:R-magrittr \
                    port:R-ncvreg \
                    port:R-recipes \
                    port:R-rlang

depends_test-append port:R-covr \
                    port:R-kableExtra \
                    port:R-knitr \
                    port:R-modeldata \
                    port:R-rmarkdown \
                    port:R-testthat

test.run            yes