# -*- 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 cran hmeasure 1.0-2
revision            1
maintainers         nomaintainer
license             MIT
description         H-measure and other scalar classification performance metrics
long_description    {*}${description}
checksums           rmd160  b2df4f18ce9eabceef31bec9053f87db01b1bf6e \
                    sha256  1c56689e76a72bbef60dab92b23e87908793ce68afdaa0546c6d8a51bca59650 \
                    size    462739
supported_archs     noarch
platforms           {darwin any}

# Fix broken tests:
post-extract {
    copy ${filespath}/testthat.R ${worksrcpath}/tests/
}

depends_test-append port:R-testthat

test.run            yes