# -*- 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 ms609 Ternary 2.3.3
revision            0
categories-append   graphics
platforms           {darwin any}
maintainers         nomaintainer
license             GPL-2+
description         Create Ternary and Holdridge plots
long_description    {*}${description}
homepage            https://ms609.github.io/Ternary
checksums           rmd160  e82066a31131b8eed3e083e31972d4aa7affb3ec \
                    sha256  70a4a486ae4dca4ffbcf0b3aa6f05a1c77bc05602c71d7efba124e6ea621915e \
                    size    778302
github.tarball_from archive
supported_archs     noarch

depends_lib-append  port:R-PlotTools \
                    port:R-RcppHungarian \
                    port:R-shiny \
                    port:R-sp

# FIXME: one test fails:
# https://github.com/ms609/Ternary/issues/87
depends_test-append port:R-colourpicker \
                    port:R-knitr \
                    port:R-readxl \
                    port:R-rmarkdown \
                    port:R-shinyjs \
                    port:R-spelling \
                    port:R-testthat \
                    port:R-vdiffr

test.run            yes
