# -*- 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 repsd 1.0.1
revision            2
categories-append   math
maintainers         {@barracuda156 gmail.com:vital.had} openmaintainer
license             MIT
description         Root expected proportion squared difference for detecting DIF
long_description    {*}${description}
checksums           rmd160  42853f017cde7360640e491a02fe9c16186070ca \
                    sha256  a1b2b30b8e39843339b859b050e2df6b33c9c534a8a9aa39945185f104b35980 \
                    size    17871
supported_archs     noarch
platforms           {darwin any}

depends_lib-append  port:R-progress

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

# One test fails on 32-bit, apparently due to precision:
# Failure ('test-repsd.R:16:3'): repsd returns the correct values overall
# [11] 0.019565636314877601 - 0.019565636314877597 [11]
# [ FAIL 1 | WARN 0 | SKIP 0 | PASS 48 ]
test.run            yes
