# -*- 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

# Revert to GitHub once updated there.
R.setup             cran insightsengineering rtables 0.6.10 v
revision            0
platforms           {darwin any}
maintainers         nomaintainer
license             Apache-2
description         Reporting tables with R
long_description    {*}${description}
homepage            https://insightsengineering.github.io/rtables
checksums           rmd160  82520a3784c83f495d85585da9a0f2eeea9261c1 \
                    sha256  0499f861cd91ffee1d3c2d5a66b8a3420c0f892c67606d50f6ffb2978bec5fce \
                    size    2711147
# github.tarball_from archive
supported_archs     noarch

depends_lib-append  port:R-checkmate \
                    port:R-formatters \
                    port:R-htmltools \
                    port:R-lifecycle \
                    port:R-magrittr \
                    port:R-stringi

depends_test-append port:R-broom \
                    port:R-car \
                    port:R-dplyr \
                    port:R-flextable \
                    port:R-knitr \
                    port:R-officer \
                    port:R-r2rtf \
                    port:R-rmarkdown \
                    port:R-testthat \
                    port:R-tibble \
                    port:R-tidyr \
                    port:R-withr \
                    port:R-xml2

test.run            yes
