# -*- 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 lags behind.
R.setup             cran friendly heplots 1.7.0
revision            0
maintainers         {@barracuda156 gmail.com:vital.had} openmaintainer
license             GPL-2+
description         Visualizing hypothesis tests in multivariate linear models
long_description    {*}${description}
homepage            https://friendly.github.io/heplots
checksums           rmd160  6f5e1f1991af2800e745eb0fab1b51cb16b3124d \
                    sha256  dd4dd68a79bbb50d499e8a0906672e62783b92edae4991bfedbb6ad7c5737c42 \
                    size    2782658
supported_archs     noarch

depends_lib-append  port:R-broom \
                    port:R-car \
                    port:R-magrittr \
                    port:R-purrr \
                    port:R-rgl \
                    port:R-tibble

variant tests description "Enable testing" {
    # CRAN is silent on R-archdata and R-qqtest,
    # but the package checks for those.
    depends_test-append \
                    port:R-animation \
                    port:R-archdata \
                    port:R-bookdown \
                    port:R-candisc \
                    port:R-carData \
                    port:R-corrgram \
                    port:R-dplyr \
                    port:R-effects \
                    port:R-ggplot2 \
                    port:R-gplots \
                    port:R-knitr \
                    port:R-mvinfluence \
                    port:R-qqtest \
                    port:R-reshape \
                    port:R-reshape2 \
                    port:R-rmarkdown \
                    port:R-Sleuth2 \
                    port:R-tidyr

    test.run        yes
}
