# -*- 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 stla OwenQ 1.0.7
revision            2
categories-append   math
maintainers         nomaintainer
license             BSD
description         Owen Q-function
long_description    Evaluates the Owen Q-function for an integer value \
                    of the degrees of freedom, by applying Owen’s algorithm.
checksums           rmd160  caa5635adc54e15806fe2888f311166fc1249bc3 \
                    sha256  3e7cf54918b463352d2c38ef4914783d61e37eda891411f848cad9bc8d36e32b \
                    size    370778

depends_lib-append  port:R-BH \
                    port:R-Rcpp \
                    port:R-RcppEigen \
                    port:R-RcppNumerical

compiler.cxx_standard 2017

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

# Two tests fail on PPC: https://github.com/stla/OwenQ/issues/3
test.run            yes
