From 6a40f61f02ecda145e951ca6b006a39b583741d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Ver=C3=ADssimo?= <211358+averissimo@users.noreply.github.com> Date: Wed, 26 Jul 2023 00:48:17 +0200 Subject: [PATCH] docs: add minimal version of deps --- .github/workflows/scheduled.yaml | 10 ++++- DESCRIPTION | 76 ++++++++++++++++++++++++++------ NEWS.md | 1 + 3 files changed, 71 insertions(+), 16 deletions(-) diff --git a/.github/workflows/scheduled.yaml b/.github/workflows/scheduled.yaml index b752a49b1..e5174e1bd 100644 --- a/.github/workflows/scheduled.yaml +++ b/.github/workflows/scheduled.yaml @@ -5,14 +5,20 @@ on: schedule: - cron: '45 3 * * 0' workflow_dispatch: + # Section to be removed before action is merged + # note: branch below needs to point to main instead of new-verdepcheck-strategy + push: + branches: + - verdepcheck_action + # end of section to be removed jobs: dependency-test: strategy: fail-fast: false matrix: - test-strategy: ["min", "release", "max"] - uses: insightsengineering/r.pkg.template/.github/workflows/verdepcheck.yaml@main + test-strategy: ["min_cohort", "min_isolated", "release", "max"] + uses: insightsengineering/r.pkg.template/.github/workflows/verdepcheck.yaml@new-verdepcheck-strategy name: Dependency Test - ${{ matrix.test-strategy }} 🔢 secrets: REPO_GITHUB_TOKEN: ${{ secrets.REPO_GITHUB_TOKEN }} diff --git a/DESCRIPTION b/DESCRIPTION index c3ec2698e..7fe78e647 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -19,23 +19,23 @@ Depends: ggmosaic (>= 0.3.0), ggplot2, R (>= 3.6), - shiny, + shiny (>= 1.6.0), shinyTree, teal (>= 0.12.0) Imports: - checkmate, - dplyr, - DT, + checkmate (>= 2.1.0), + dplyr (>= 1.0.5), + DT (>= 0.13), forcats (>= 1.0.0), grid, logger (>= 0.2.0), - magrittr, + magrittr (>= 1.5), scales, shinyjs, shinyvalidate, shinyWidgets, stats, - stringr, + stringr (>= 1.4.1), teal.code (>= 0.3.0), teal.logger (>= 0.1.1), teal.reporter (>= 0.1.1), @@ -43,12 +43,12 @@ Imports: teal.transform (>= 0.2.0), teal.widgets (>= 0.2.0), tern (>= 0.7.10), - tibble, - tidyr, + tibble (>= 2.0.0), + tidyr (>= 0.8.3), tidyselect, utils Suggests: - broom, + broom (>= 0.7.10), colourpicker, ggExtra, ggpmisc (>= 0.4.3), @@ -57,17 +57,17 @@ Suggests: gridExtra, htmlwidgets, jsonlite, - knitr, - lattice, + knitr (>= 1.34), + lattice (>= 0.18-4), MASS, methods, nestcolor (>= 0.1.0), - rlang, - rmarkdown, + rlang (>= 1.0.0), + rmarkdown (>= 2.19), rtables (>= 0.5.1), sparkline, teal.data (>= 0.1.2), - testthat (>= 2.0) + testthat (>= 3.0.4) VignetteBuilder: knitr Remotes: @@ -80,6 +80,54 @@ Remotes: insightsengineering/teal.widgets@*release, insightsengineering/teal@*release, insightsengineering/tern@*release +Config/Needs/verdepcheck: + haleyjeppson/ggmosaic, + tidyverse/ggplot2, + rstudio/shiny, + shinyTree/shinyTree, + insightsengineering/teal, + mllg/checkmate, + tidyverse/dplyr, + rstudio/DT, + tidyverse/forcats, + daroczig/logger, + tidyverse/magrittr, + r-lib/scales, + daattali/shinyjs, + rstudio/shinyvalidate, + dreamRs/shinyWidgets, + tidyverse/stringr, + insightsengineering/teal.code, + insightsengineering/teal.logger, + insightsengineering/teal.reporter, + insightsengineering/teal.slice, + insightsengineering/teal.transform, + insightsengineering/teal.widgets, + insightsengineering/tern, + tidyverse/tibble, + tidyverse/tidyr, + r-lib/tidyselect, + tidymodels/broom, + daattali/colourpicker, + daattali/ggExtra, + aphalo/ggpmisc, + aphalo/ggpp, + baddstats/goftest, + gridExtra, + ramnathv/htmlwidgets, + jeroen/jsonlite, + yihui/knitr, + deepayan/lattice, + MASS, + insightsengineering/nestcolor, + r-lib/rlang, + rstudio/rmarkdown, + insightsengineering/rtables, + insightsengineering/scda, + insightsengineering/scda.2022, + sparkline, + insightsengineering/teal.data, + r-lib/testthat Config/Needs/website: insightsengineering/nesttemplate Encoding: UTF-8 Language: en-US diff --git a/NEWS.md b/NEWS.md index 67da7160d..9c83a4373 100644 --- a/NEWS.md +++ b/NEWS.md @@ -23,6 +23,7 @@ * Removed `scda` package dependency from examples. * Replaced deprecated `ggplot2` functions `..count..`, `..density..` and `..prop..`. * Version bump on `forcats` dependency. +* Specify minimal version of dependent packages. # teal.modules.general 0.2.15