# -*- 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             cran rstudio rmarkdown 2.22
revision            0
maintainers         nomaintainer
license             GPL-3
description         Dynamic documents for R
long_description    Convert R Markdown documents into a variety of formats.
homepage            https://pkgs.rstudio.com/rmarkdown
checksums           rmd160  b89cb9bcbd3d1a51c2ece8881de8af835e01a6f9 \
                    sha256  c6635519503e0fcdd518696d3ac96d8d28d9d4ecd9db0532c53426002f6387b8 \
                    size    2184560
supported_archs     noarch

depends_lib-append  port:R-bslib \
                    port:R-evaluate \
                    port:R-fontawesome \
                    port:R-htmltools \
                    port:R-jquerylib \
                    port:R-jsonlite \
                    port:R-knitr \
                    port:R-stringr \
                    port:R-tinytex \
                    port:R-xfun \
                    port:R-yaml

# Remove a test dependency that requires NodeJS:
patchfiles          patch-no-katex.diff

depends_test-append port:R-digest \
                    port:R-downlit \
                    port:R-dygraphs \
                    port:R-fs \
                    port:R-rsconnect \
                    port:R-sass \
                    port:R-shiny \
                    port:R-testthat \
                    port:R-tibble \
                    port:R-vctrs \
                    port:R-withr

test.run            yes
