# -*- 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 scutari bnlearn 5.1
revision            1
categories-append   math
maintainers         {@barracuda156 macos-powerpc.org:barracuda} openmaintainer
license             GPL-2+
description         Bayesian network structure learning, parameter learning \
                    and inference
long_description    {*}${description}
homepage            https://www.bnlearn.com
checksums           rmd160  a6775f23b6dd86e84b22be22a576ddb4a311dcf8 \
                    sha256  625568dc7e7773934867ffd36b1898bfb56b80937736b81a00479920616fdb96 \
                    size    1341966

compilers.setup     require_fortran

compiler.c_standard 2017

depends_test-append port:R-gmp \
                    port:R-gRain \
                    port:R-gRbase \
                    port:R-graph \
                    port:R-igraph \
                    port:R-Rgraphviz \
                    port:R-Rmpfr

test.run            yes
