# -*- 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 r-lib lobstr 1.2.1 v
revision            0
maintainers         {@barracuda156 macos-powerpc.org:barracuda} openmaintainer
license             MIT
description         Visualize R data structures with trees
long_description    {*}${description}
homepage            https://lobstr.r-lib.org
checksums           rmd160  c728e125a3d7172df39bbe948408833521eeb201 \
                    sha256  a773d91788eb4f981a869263ca6d326733532a9d5e0400930c224609d00f04f8 \
                    size    197614
github.tarball_from archive

# https://github.com/r-lib/lobstr/issues/93
patchfiles-append   patch-rlang-c-utils.h.diff

depends_lib-append  port:R-cpp11 \
                    port:R-crayon \
                    port:R-prettyunits \
                    port:R-rlang

depends_test-append port:R-covr \
                    port:R-pillar \
                    port:R-pkgdown \
                    port:R-testthat

test.run            yes
