# -*- 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 kaifenglu lrstat 0.2.10
revision            0
categories-append   math
maintainers         nomaintainer
license             GPL-2+
description         Power and sample size calculation for non-proportional hazards
long_description    {*}${description}
checksums           rmd160  dd7d575cd3abd23538e150d3d88f138f431a6e88 \
                    sha256  e530409d3c40a085d7ea672a8c538bcd81ef2bd4f49a4b0555daa48f6fe475eb \
                    size    716243

depends_lib-append  port:R-lpSolve \
                    port:R-mvtnorm \
                    port:R-Rcpp \
                    port:R-shiny

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

# FIXME: one test fails on powerpc [ FAIL 1 | WARN 0 | SKIP 0 | PASS 13 ]
# Error ('test-f_lrpower.R:83:3'): power for stratified analysis
# <Rcpp::exception/C++Error/error/condition>
# Error: stratumFraction must sum to 1
test.run            yes
