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

# GitHub version lags behind.
R.setup             cran business-science tidyquant 1.0.11
revision            0
categories-append   finance www
platforms           {darwin any}
maintainers         {@barracuda156 macos-powerpc.org:barracuda} openmaintainer
license             MIT
description         Tidy Quantitative financial analysis
long_description    {*}${description}
checksums           rmd160  682dea444f2796771aef597b4bb72a640ab5f69c \
                    sha256  af12e64d6e2ea99549ccafa161d578fd41689517cfe55c91ad8c776afcdfa72d \
                    size    1151561
supported_archs     noarch

depends_lib-append  port:R-cli \
                    port:R-curl \
                    port:R-dplyr \
                    port:R-ggplot2 \
                    port:R-httr \
                    port:R-httr2 \
                    port:R-jsonlite \
                    port:R-lazyeval \
                    port:R-lubridate \
                    port:R-magrittr \
                    port:R-PerformanceAnalytics \
                    port:R-purrr \
                    port:R-quantmod \
                    port:R-readr \
                    port:R-readxl \
                    port:R-rlang \
                    port:R-RobStatTM \
                    port:R-stringr \
                    port:R-tibble \
                    port:R-tidyr \
                    port:R-timeDate \
                    port:R-timetk \
                    port:R-TTR \
                    port:R-xts \
                    port:R-zoo

# R-Rblpapi is omitted.
depends_test-append port:R-alphavantager \
                    port:R-broom \
                    port:R-forcats \
                    port:R-janitor \
                    port:R-knitr \
                    port:R-Quandl \
                    port:R-riingo \
                    port:R-rmarkdown \
                    port:R-scales \
                    port:R-testthat \
                    port:R-tibbletime

test.run            yes
