# -*- 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 JanMarvin openxlsx2 1.7 v
revision            0
categories-append   office
maintainers         {@barracuda156 gmail.com:vital.had} openmaintainer
license             MIT
description         Read, write and edit xlsx files
long_description    {*}${description}
homepage            https://janmarvin.github.io/openxlsx2
checksums           rmd160  d254c82b2ac753252c3bd8b6bb09118cc9e94718 \
                    sha256  7f11ad0136958b53e15bf299c1fc19fb50e586544cb435cf6873adafdecdeec8 \
                    size    5633935
github.tarball_from archive

depends_lib-append  port:R-magrittr \
                    port:R-R6 \
                    port:R-Rcpp \
                    port:R-stringi \
                    port:R-zip

depends_test-append port:R-ggplot2 \
                    port:R-knitr \
                    port:R-mschart \
                    port:R-rmarkdown \
                    port:R-rvg \
                    port:R-testthat \
                    port:R-waldo

# One test fails on 32-bit, apparently due to rounding: https://github.com/JanMarvin/openxlsx2/issues/566
# Some more testing on Big-endian: https://github.com/JanMarvin/openxlsx2/pull/688
test.run            yes
