# -*- 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 dario.azzimonti bayesRecon 0.2.0
revision            1
categories-append   math
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}
checksums           rmd160  52d2de4b77aa06dd83968c2e179fc6cb8e9840f0 \
                    sha256  05d1e1bc5237507f4021811526b7d719595ff901e2bbdc684e178a68e449d25a \
                    size    2134920
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
