# -*- 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 IDSIA bayesRecon 0.3.2
revision            0
categories-append   math
platforms           {darwin any}
maintainers         {@barracuda156 gmail.com:vital.had} openmaintainer
license             LGPL-3+
description         Provides methods for probabilistic reconciliation \
                    of hierarchical forecasts of time series
long_description    {*}${description}
homepage            https://github.com/IDSIA/bayesRecon
checksums           rmd160  5fd032a2d4f00033ab7fe2a4266a552d483772a2 \
                    sha256  d4a3d1b1758c4564054c5106d45391d9d985c3287a91dae20da7a8d94aeaa617 \
                    size    2262909
supported_archs     noarch

depends_lib-append  port:R-lpSolve

depends_test-append port:R-forecast \
                    port:R-glarma \
                    port:R-knitr \
                    port:R-rmarkdown \
                    port:R-scoringRules \
                    port:R-testthat

# One test fails on 32-bit due to precision threshold.
test.run            yes
