# -*- 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 bgregor knnmi 1.0
revision            1
categories-append   math
maintainers         {@barracuda156 gmail.com:vital.had} openmaintainer
license             GPL-3+
description         k-Nearest Neighbor Mutual Information estimator
long_description    {*}${description}
checksums           rmd160  bfde443f49a274fe088002b77e159fd9c157faee \
                    sha256  3911a85c8d961aab47503ce1cc0e8c2a3ded3c9c4094037d42826e83917a8d99 \
                    size    619644

# This port also uses outdated Eigen headers
# which have a bug affecting PowerPC builds.
# Disable broken Altivec to fix the build.
patchfiles          patch-fix-eigen-altivec.diff

depends_test-append port:R-spelling \
                    port:R-testthat 

test.run            yes
