diff --git a/.github/workflows/scheduled.yml b/.github/workflows/scheduled.yml new file mode 100644 index 00000000..6b66a892 --- /dev/null +++ b/.github/workflows/scheduled.yml @@ -0,0 +1,23 @@ +--- +name: Scheduled 🕰️ + +on: + schedule: + - cron: '45 3 * * 0' + workflow_dispatch: + +jobs: + dependency-test: + strategy: + fail-fast: false + matrix: + test-strategy: ["min_cohort", "min_isolated", "release", "max"] + uses: insightsengineering/r.pkg.template/.github/workflows/verdepcheck.yaml@main + name: Dependency Test - ${{ matrix.test-strategy }} 🔢 + secrets: + REPO_GITHUB_TOKEN: ${{ secrets.REPO_GITHUB_TOKEN }} + GCHAT_WEBHOOK: ${{ secrets.GCHAT_WEBHOOK }} + with: + strategy: ${{ matrix.test-strategy }} + additional-env-vars: | + PKG_SYSREQS_DRY_RUN=true diff --git a/DESCRIPTION b/DESCRIPTION index 8485ccd1..89208630 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -13,23 +13,37 @@ License: Apache License 2.0 | file LICENSE Depends: R (>= 4.0.0) Imports: - checkmate (>= 2.0), - dplyr, + checkmate (>= 2.1.0), + dplyr (>= 1.1.0), forcats (>= 1.0.0), - glue, - magrittr, + glue (>= 1.0.0), + magrittr (>= 1.5), methods, - rlang, - stringr, - tibble, - yaml + rlang (>= 1.0.0), + stringr (>= 1.4.1), + tibble (>= 1.2), + yaml (>= 2.1.15) Suggests: - knitr, - rmarkdown, - testthat (>= 3.0.0), - withr + knitr (>= 1.42), + rmarkdown (>= 2.19), + testthat (>= 3.0.4), + withr (>= 2.1.0) VignetteBuilder: knitr +Config/Needs/verdepcheck: + mllg/checkmate, + tidyverse/dplyr, + tidyverse/forcats, + tidyverse/glue, + tidyverse/magrittr, + r-lib/rlang, + tidyverse/stringr, + tidyverse/tibble, + yaml=vubiostat/r-yaml, + yihui/knitr, + rstudio/rmarkdown, + r-lib/testthat, + r-lib/withr Config/Needs/website: insightsengineering/nesttemplate Config/testthat/edition: 3 Encoding: UTF-8 @@ -37,7 +51,7 @@ Language: en-US LazyData: true Roxygen: list(markdown = TRUE) RoxygenNote: 7.2.3 -Collate: +Collate: 'assertions.R' 'co_relevels.R' 'cut_by_group.R' diff --git a/NEWS.md b/NEWS.md index 3f08a0be..75343a57 100644 --- a/NEWS.md +++ b/NEWS.md @@ -3,6 +3,7 @@ * `empty_rule` is removed now. `rule()` will create a normal `rule` object. * By default `rule` are converting empty space `""` to `NA` upon reformatting. * `list2rule` now tolerates duplicated rules with different names. +* Specified minimal version of package dependencies. # dunlin 0.1.4