# -*- 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.0.1
revision            0
categories-append   math
maintainers         {@barracuda156 gmail.com:vital.had} openmaintainer
license             GPL-2+
description         Bayesian network structure learning, parameter learning \
                    and inference
long_description    {*}${description}
homepage            https://www.bnlearn.com
checksums           rmd160  4a270f826b1f34884fa5c29c66625efe0751d32a \
                    sha256  2452bd9523dbb4d6a44553cd67096523ba4d18800deef7b376e694d7c60af99e \
                    size    1325437

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
