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

# GitHub version lags behind.
R.setup             cran cjvanlissa bain 0.2.11
revision            0
categories-append   math
maintainers         {@barracuda156 gmail.com:vital.had} openmaintainer
license             GPL-3+
description         Bayes Factors for Informative hypotheses
long_description    {*}${description}
homepage            https://informative-hypotheses.sites.uu.nl/software/bain
checksums           rmd160  38dde9d2c5fb617640b45b3a908123a173890c4b \
                    sha256  8c7a8b07bc954231372c4551a5898ec21c8a9451f2ae14c4c107c534e208f18c \
                    size    572540

depends_lib-append  port:R-lavaan

compilers.setup     require_fortran

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

# Few tests fail on ppc: https://github.com/cjvanlissa/bain/issues/41
test.run            yes
