# -*- 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 is outdated.
R.setup             cran vdorie dbarts 0.9-30
revision            0
categories-append   math
maintainers         {@barracuda156 gmail.com:vital.had} openmaintainer
license             GPL-2+
description         Discrete Bayesian Additive Regression Trees sampler
long_description    {*}${description}
homepage            https://github.com/vdorie/dbarts
checksums           rmd160  228104d615f1395d22357fa4f790fcef8e175b0e \
                    sha256  99b68598335044876238724119e3292fc92c097a92c25a9b1112a46a73ca278f \
                    size    853165

# https://github.com/vdorie/dbarts/issues/55
patchfiles          patch-fix-libs.diff

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

# One test fails on PPC: https://github.com/vdorie/dbarts/issues/56
test.run            yes
