# -*- 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 callr 3.7.6 v
revision            3
categories-append   devel
platforms           {darwin any}
maintainers         {@barracuda156 macos-powerpc.org:barracuda} openmaintainer
license             MIT
description         Call R from R
long_description    {*}${description}
homepage            https://callr.r-lib.org
checksums           rmd160  d300263e71535250062e321799e43a8e5a741744 \
                    sha256  9d75b688246a8cbb8b8f3a84237c44b0d3759be668f7a18ba133cf85eaacc489 \
                    size    105219
github.tarball_from archive
supported_archs     noarch

depends_lib-append  port:R-processx \
                    port:R-R6

patchfiles          patch-no-asciicast.diff

depends_test-append port:R-cli \
                    port:R-mockery \
                    port:R-ps \
                    port:R-rprojroot \
                    port:R-spelling \
                    port:R-testthat \
                    port:R-withr

# There may be a few failures in tests: https://github.com/r-lib/callr/issues/263
test.run            yes
