# -*- 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             github USCbiostats xrnet 1.0.0 v
revision            0
categories-append   math
maintainers         {@barracuda156 gmail.com:vital.had} openmaintainer
license             GPL-2
description         Hierarchical regularized regression
long_description    {*}${description}
homepage            https://uscbiostats.github.io/xrnet
checksums           rmd160  fb19fc65d123020369dcfcb261228304e8ef3951 \
                    sha256  7de8f34a1dfb1cc07514cc1c8505262f332bb5122dfe3cc80905bf93f7b9fa0b \
                    size    795307
github.tarball_from archive

depends_lib-append  port:R-BH \
                    port:R-bigmemory \
                    port:R-foreach \
                    port:R-Rcpp \
                    port:R-RcppEigen

compilers.setup     require_fortran

depends_test-append port:R-doParallel \
                    port:R-knitr \
                    port:R-rmarkdown \
                    port:R-testthat

# FIXME: 3 tests fail on PowerPC: https://github.com/USCbiostats/xrnet/issues/41
test.run            yes
