# -*- 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 topipa iwmm b40fdc398f4d8ffe5e32aa2a8367cb3d3db6607c
version             0.0.1
revision            0
categories-append   math
platforms           {darwin any}
maintainers         {@barracuda156 gmail.com:vital.had} openmaintainer
license             GPL-3+
description         Importance-weighted moment matching
long_description    ${name} provides functions for adaptive importance sampling.
checksums           rmd160  ff607d7e2900f7a34772bb39c9c9c61568f2a3f4 \
                    sha256  ec0dbe57dbb1765ef39be28a84f1f256727f72453d5083a94ef11117660f32f7 \
                    size    333821
supported_archs     noarch

depends_lib-append  port:R-checkmate \
                    port:R-matrixStats \
                    port:R-posterior

depends_test-append port:R-bayesplot \
                    port:R-brms \
                    port:R-cmdstanr \
                    port:R-knitr \
                    port:R-rmarkdown \
                    port:R-rstan \
                    port:R-testthat

# One test will fail, since it needs CmdStan installation:
# https://github.com/topipa/iwmm/issues/16
test.run            yes
