# -*- 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             github rstudio gt 0.11.1 v
revision            0
categories-append   office
platforms           {darwin any}
maintainers         nomaintainer
license             MIT
description         Build display tables from tabular data \
                    with an easy-to-use set of functions
long_description    {*}${description}
homepage            https://gt.rstudio.com
checksums           rmd160  4ee93bed97e9aff00ee53865f89864b5f2b1e11e \
                    sha256  78855b2cd56c625d745586826335f0daf7bdf2673ff71bdf539457176b97af43 \
                    size    136657327
github.tarball_from archive
supported_archs     noarch

depends_lib-append  port:R-base64enc \
                    port:R-bigD \
                    port:R-bitops \
                    port:R-cli \
                    port:R-commonmark \
                    port:R-dplyr \
                    port:R-fs \
                    port:R-glue \
                    port:R-htmltools \
                    port:R-htmlwidgets \
                    port:R-magrittr \
                    port:R-markdown \
                    port:R-reactable \
                    port:R-rlang \
                    port:R-sass \
                    port:R-scales \
                    port:R-tidyselect \
                    port:R-vctrs \
                    port:R-xml2

# FIXME: https://github.com/rstudio/gt/issues/1284
patchfiles          patch-no-juicyjuice-etc.diff

# Some optional deps are omitted.
depends_test-append port:R-covr \
                    port:R-digest \
                    port:R-fontawesome \
                    port:R-ggplot2 \
                    port:R-gtable \
                    port:R-knitr \
                    port:R-lubridate \
                    port:R-magick \
                    port:R-paletteer \
                    port:R-RColorBrewer \
                    port:R-rmarkdown \
                    port:R-rsvg \
                    port:R-rvest \
                    port:R-shiny \
                    port:R-testthat \
                    port:R-tidyr \
                    port:R-withr

test.run            yes
