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

# Revert to GitHub once updated there.
R.setup             cran kevhuy WALS 0.2.5 v
revision            0
categories-append   math
platforms           {darwin any}
maintainers         {@barracuda156 gmail.com:vital.had} openmaintainer
license             {GPL-2 GPL-3}
description         Weighted-average least squares model averaging
long_description    {*}${description}
homepage            https://github.com/kevhuy/WALS
checksums           rmd160  d409f1e38bcda9b50c1849b7d9b9a80255e6a33c \
                    sha256  c63932a4912f923f11552bd7bb55546d03551a24999b3a042f061444eb30687c \
                    size    239222
supported_archs     noarch

depends_lib-append  port:R-Formula \
                    port:R-Rdpack

depends_test-append port:R-AER \
                    port:R-BayesVarSel \
                    port:R-BMS \
                    port:R-testthat

# FIXME: some tests fail, at least on ppc: https://github.com/kevhuy/WALS/issues/1
test.run            yes
