# -*- 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

# Revert to GitHub once updated there.
R.setup             cran tidyverse tidyverse 2.0.0
revision            2
maintainers         {@barracuda156 gmail.com:vital.had} openmaintainer
license             MIT
description         Easily install and load the Tidyverse
long_description    {*}${description}
homepage            https://tidyverse.tidyverse.org
checksums           rmd160  4003edc2124659128e7d67f4a497e2b149763b66 \
                    sha256  3d3c2d135056333247d309d1c2cc98cc0d87e2c781f4c6fbceab28d28c0728e5 \
                    size    704618
supported_archs     noarch
platforms           {darwin any}

depends_lib-append  port:R-broom \
                    port:R-cli \
                    port:R-conflicted \
                    port:R-crayon \
                    port:R-dbplyr \
                    port:R-dplyr \
                    port:R-dtplyr \
                    port:R-forcats \
                    port:R-ggplot2 \
                    port:R-googledrive \
                    port:R-googlesheets4 \
                    port:R-haven \
                    port:R-hms \
                    port:R-httr \
                    port:R-jsonlite \
                    port:R-lubridate \
                    port:R-magrittr \
                    port:R-modelr \
                    port:R-pillar \
                    port:R-purrr \
                    port:R-ragg \
                    port:R-readr \
                    port:R-readxl \
                    port:R-reprex \
                    port:R-rlang \
                    port:R-rstudioapi \
                    port:R-rvest \
                    port:R-stringr \
                    port:R-tibble \
                    port:R-tidyr \
                    port:R-xml2

# Until this is fixed: https://github.com/wesm/feather/issues/398
patchfiles          patch-no-feather.diff

depends_test-append port:R-covr \
                    port:R-glue \
                    port:R-knitr \
                    port:R-mockr \
                    port:R-rmarkdown \
                    port:R-testthat

test.run            yes