# -*- 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 JoFrhwld densityarea 0.1.0 v
revision            0
categories-append   math
maintainers         {@barracuda156 gmail.com:vital.had} openmaintainer
license             GPL-3+
description         Polygons of bivariate density distributions
long_description    {*}${description}
homepage            https://jofrhwld.github.io/densityarea
checksums           rmd160  6b4eb0dcee8f4ffdbb2f0d50e78af7940e7585e7 \
                    sha256  aedea4199a0919800254328ed768b552b0134d0ed5be3409ecb88fed5beb7029 \
                    size    1682475
supported_archs     noarch

# https://github.com/JoFrhwld/densityarea/issues/37
post-extract {
    file delete ${worksrcpath}/.Rprofile
}

depends_lib-append  port:R-cli \
                    port:R-dplyr \
                    port:R-ggdensity \
                    port:R-isoband \
                    port:R-purrr \
                    port:R-rlang \
                    port:R-sf \
                    port:R-sfheaders \
                    port:R-tibble \
                    port:R-vctrs

depends_test-append port:R-forcats \
                    port:R-ggplot2 \
                    port:R-knitr \
                    port:R-ragg \
                    port:R-readr \
                    port:R-rmarkdown \
                    port:R-stringr \
                    port:R-testthat \
                    port:R-tidyr

test.run            yes
