From dee83551034ae5e55781ad81b6cda713f3a3ed64 Mon Sep 17 00:00:00 2001 From: vedhav Date: Tue, 10 Dec 2024 15:34:26 +0530 Subject: [PATCH 1/4] add setup-r-dependencies --- .github/workflows/check.yaml | 68 +++++++++++++++++++++++++++++++ .github/workflows/docs.yaml | 17 ++++++++ .github/workflows/release.yaml | 69 ++++++++++++++++++++++++++++++++ .github/workflows/scheduled.yaml | 19 ++++++++- 4 files changed, 171 insertions(+), 2 deletions(-) diff --git a/.github/workflows/check.yaml b/.github/workflows/check.yaml index bf02a968f..c1b042ee5 100644 --- a/.github/workflows/check.yaml +++ b/.github/workflows/check.yaml @@ -41,6 +41,23 @@ jobs: checking top-level files .* NOTE unit-test-report-brand: >- https://raw.githubusercontent.com/insightsengineering/hex-stickers/main/thumbs/teal.png + deps-installation-method: setup-r-dependencies + lookup-refs: | + insightsengineering/teal + insightsengineering/teal.transform + insightsengineering/tern + insightsengineering/rlistings + insightsengineering/rtables + insightsengineering/rtables.officer + insightsengineering/teal.code + insightsengineering/teal.data + insightsengineering/teal.logger + insightsengineering/teal.reporter + insightsengineering/teal.widgets + insightsengineering/tern.gee + insightsengineering/tern.mmrm + insightsengineering/nestcolor + insightsengineering/roxy.shinylive r-cmd-non-cran: name: R CMD Check (non-CRAN) 🧬 uses: insightsengineering/r.pkg.template/.github/workflows/build-check-install.yaml@main @@ -61,6 +78,23 @@ jobs: checking Rd .usage sections .* NOTE checking for unstated dependencies in vignettes .* NOTE checking top-level files .* NOTE + deps-installation-method: setup-r-dependencies + lookup-refs: | + insightsengineering/teal + insightsengineering/teal.transform + insightsengineering/tern + insightsengineering/rlistings + insightsengineering/rtables + insightsengineering/rtables.officer + insightsengineering/teal.code + insightsengineering/teal.data + insightsengineering/teal.logger + insightsengineering/teal.reporter + insightsengineering/teal.widgets + insightsengineering/tern.gee + insightsengineering/tern.mmrm + insightsengineering/nestcolor + insightsengineering/roxy.shinylive coverage: name: Coverage πŸ“” uses: insightsengineering/r.pkg.template/.github/workflows/test-coverage.yaml@main @@ -69,6 +103,23 @@ jobs: with: additional-env-vars: | NOT_CRAN=true + deps-installation-method: setup-r-dependencies + lookup-refs: | + insightsengineering/teal + insightsengineering/teal.transform + insightsengineering/tern + insightsengineering/rlistings + insightsengineering/rtables + insightsengineering/rtables.officer + insightsengineering/teal.code + insightsengineering/teal.data + insightsengineering/teal.logger + insightsengineering/teal.reporter + insightsengineering/teal.widgets + insightsengineering/tern.gee + insightsengineering/tern.mmrm + insightsengineering/nestcolor + insightsengineering/roxy.shinylive linter: if: github.event_name != 'push' name: SuperLinter πŸ¦Έβ€β™€οΈ @@ -80,6 +131,23 @@ jobs: REPO_GITHUB_TOKEN: ${{ secrets.REPO_GITHUB_TOKEN }} with: auto-update: true + deps-installation-method: setup-r-dependencies + lookup-refs: | + insightsengineering/teal + insightsengineering/teal.transform + insightsengineering/tern + insightsengineering/rlistings + insightsengineering/rtables + insightsengineering/rtables.officer + insightsengineering/teal.code + insightsengineering/teal.data + insightsengineering/teal.logger + insightsengineering/teal.reporter + insightsengineering/teal.widgets + insightsengineering/tern.gee + insightsengineering/tern.mmrm + insightsengineering/nestcolor + insightsengineering/roxy.shinylive gitleaks: name: gitleaks πŸ’§ uses: insightsengineering/r.pkg.template/.github/workflows/gitleaks.yaml@main diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml index 57ae80042..a08a2bddb 100644 --- a/.github/workflows/docs.yaml +++ b/.github/workflows/docs.yaml @@ -42,3 +42,20 @@ jobs: with: default-landing-page: latest-tag additional-unit-test-report-directories: unit-test-report-non-cran + deps-installation-method: setup-r-dependencies + lookup-refs: | + insightsengineering/teal + insightsengineering/teal.transform + insightsengineering/tern + insightsengineering/rlistings + insightsengineering/rtables + insightsengineering/rtables.officer + insightsengineering/teal.code + insightsengineering/teal.data + insightsengineering/teal.logger + insightsengineering/teal.reporter + insightsengineering/teal.widgets + insightsengineering/tern.gee + insightsengineering/tern.mmrm + insightsengineering/nestcolor + insightsengineering/roxy.shinylive diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index aa3e7bb45..58b097654 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -16,12 +16,47 @@ jobs: REPO_GITHUB_TOKEN: ${{ secrets.REPO_GITHUB_TOKEN }} with: default-landing-page: latest-tag + deps-installation-method: setup-r-dependencies + lookup-refs: | + insightsengineering/teal + insightsengineering/teal.transform + insightsengineering/tern + insightsengineering/rlistings + insightsengineering/rtables + insightsengineering/rtables.officer + insightsengineering/teal.code + insightsengineering/teal.data + insightsengineering/teal.logger + insightsengineering/teal.reporter + insightsengineering/teal.widgets + insightsengineering/tern.gee + insightsengineering/tern.mmrm + insightsengineering/nestcolor + insightsengineering/roxy.shinylive validation: name: R Package Validation report πŸ“ƒ needs: release uses: insightsengineering/r.pkg.template/.github/workflows/validation.yaml@main secrets: REPO_GITHUB_TOKEN: ${{ secrets.REPO_GITHUB_TOKEN }} + with: + deps-installation-method: setup-r-dependencies + lookup-refs: | + insightsengineering/teal + insightsengineering/teal.transform + insightsengineering/tern + insightsengineering/rlistings + insightsengineering/rtables + insightsengineering/rtables.officer + insightsengineering/teal.code + insightsengineering/teal.data + insightsengineering/teal.logger + insightsengineering/teal.reporter + insightsengineering/teal.widgets + insightsengineering/tern.gee + insightsengineering/tern.mmrm + insightsengineering/nestcolor + insightsengineering/roxy.shinylive release: name: Create release πŸŽ‰ uses: insightsengineering/r.pkg.template/.github/workflows/release.yaml@main @@ -46,6 +81,23 @@ jobs: checking top-level files .* NOTE unit-test-report-brand: >- https://raw.githubusercontent.com/insightsengineering/hex-stickers/main/thumbs/teal.png + deps-installation-method: setup-r-dependencies + lookup-refs: | + insightsengineering/teal + insightsengineering/teal.transform + insightsengineering/tern + insightsengineering/rlistings + insightsengineering/rtables + insightsengineering/rtables.officer + insightsengineering/teal.code + insightsengineering/teal.data + insightsengineering/teal.logger + insightsengineering/teal.reporter + insightsengineering/teal.widgets + insightsengineering/tern.gee + insightsengineering/tern.mmrm + insightsengineering/nestcolor + insightsengineering/roxy.shinylive coverage: name: Coverage πŸ“” needs: [release, docs] @@ -55,6 +107,23 @@ jobs: with: additional-env-vars: | NOT_CRAN=true + deps-installation-method: setup-r-dependencies + lookup-refs: | + insightsengineering/teal + insightsengineering/teal.transform + insightsengineering/tern + insightsengineering/rlistings + insightsengineering/rtables + insightsengineering/rtables.officer + insightsengineering/teal.code + insightsengineering/teal.data + insightsengineering/teal.logger + insightsengineering/teal.reporter + insightsengineering/teal.widgets + insightsengineering/tern.gee + insightsengineering/tern.mmrm + insightsengineering/nestcolor + insightsengineering/roxy.shinylive wasm: name: Build WASM packages πŸ§‘β€πŸ­ needs: release diff --git a/.github/workflows/scheduled.yaml b/.github/workflows/scheduled.yaml index fd71e5290..498229484 100644 --- a/.github/workflows/scheduled.yaml +++ b/.github/workflows/scheduled.yaml @@ -3,7 +3,7 @@ name: Scheduled πŸ•°οΈ on: schedule: - - cron: '45 3 * * 0' + - cron: "45 3 * * 0" workflow_dispatch: inputs: chosen-workflow: @@ -56,6 +56,21 @@ jobs: ) name: revdepcheck ↩️ uses: insightsengineering/r.pkg.template/.github/workflows/revdepcheck.yaml@main + with: + lookup-refs: | + insightsengineering/teal + insightsengineering/teal.transform + insightsengineering/tern + insightsengineering/rlistings + insightsengineering/rtables + insightsengineering/rtables.officer + insightsengineering/teal.code + insightsengineering/teal.data + insightsengineering/teal.logger + insightsengineering/teal.reporter + insightsengineering/teal.widgets + insightsengineering/tern.gee + insightsengineering/tern.mmrm rhub: if: > github.event_name == 'schedule' || ( @@ -71,11 +86,11 @@ jobs: insightsengineering/tern insightsengineering/rlistings insightsengineering/rtables + insightsengineering/rtables.officer insightsengineering/teal.code insightsengineering/teal.data insightsengineering/teal.logger insightsengineering/teal.reporter - insightsengineering/teal.slice insightsengineering/teal.widgets insightsengineering/tern.gee insightsengineering/tern.mmrm From 11d76a9edc46db59eb3610d7fda41e8c11f4eca2 Mon Sep 17 00:00:00 2001 From: vedhav Date: Tue, 10 Dec 2024 15:48:05 +0530 Subject: [PATCH 2/4] add `teal.slice` and `formatters` ref --- .github/workflows/check.yaml | 8 ++++++++ .github/workflows/docs.yaml | 2 ++ .github/workflows/release.yaml | 8 ++++++++ .github/workflows/scheduled.yaml | 4 ++++ 4 files changed, 22 insertions(+) diff --git a/.github/workflows/check.yaml b/.github/workflows/check.yaml index c1b042ee5..ee2ebec25 100644 --- a/.github/workflows/check.yaml +++ b/.github/workflows/check.yaml @@ -47,6 +47,7 @@ jobs: insightsengineering/teal.transform insightsengineering/tern insightsengineering/rlistings + insightsengineering/formatters insightsengineering/rtables insightsengineering/rtables.officer insightsengineering/teal.code @@ -54,6 +55,7 @@ jobs: insightsengineering/teal.logger insightsengineering/teal.reporter insightsengineering/teal.widgets + insightsengineering/teal.slice insightsengineering/tern.gee insightsengineering/tern.mmrm insightsengineering/nestcolor @@ -84,6 +86,7 @@ jobs: insightsengineering/teal.transform insightsengineering/tern insightsengineering/rlistings + insightsengineering/formatters insightsengineering/rtables insightsengineering/rtables.officer insightsengineering/teal.code @@ -91,6 +94,7 @@ jobs: insightsengineering/teal.logger insightsengineering/teal.reporter insightsengineering/teal.widgets + insightsengineering/teal.slice insightsengineering/tern.gee insightsengineering/tern.mmrm insightsengineering/nestcolor @@ -109,6 +113,7 @@ jobs: insightsengineering/teal.transform insightsengineering/tern insightsengineering/rlistings + insightsengineering/formatters insightsengineering/rtables insightsengineering/rtables.officer insightsengineering/teal.code @@ -116,6 +121,7 @@ jobs: insightsengineering/teal.logger insightsengineering/teal.reporter insightsengineering/teal.widgets + insightsengineering/teal.slice insightsengineering/tern.gee insightsengineering/tern.mmrm insightsengineering/nestcolor @@ -137,6 +143,7 @@ jobs: insightsengineering/teal.transform insightsengineering/tern insightsengineering/rlistings + insightsengineering/formatters insightsengineering/rtables insightsengineering/rtables.officer insightsengineering/teal.code @@ -144,6 +151,7 @@ jobs: insightsengineering/teal.logger insightsengineering/teal.reporter insightsengineering/teal.widgets + insightsengineering/teal.slice insightsengineering/tern.gee insightsengineering/tern.mmrm insightsengineering/nestcolor diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml index a08a2bddb..784f18116 100644 --- a/.github/workflows/docs.yaml +++ b/.github/workflows/docs.yaml @@ -48,6 +48,7 @@ jobs: insightsengineering/teal.transform insightsengineering/tern insightsengineering/rlistings + insightsengineering/formatters insightsengineering/rtables insightsengineering/rtables.officer insightsengineering/teal.code @@ -55,6 +56,7 @@ jobs: insightsengineering/teal.logger insightsengineering/teal.reporter insightsengineering/teal.widgets + insightsengineering/teal.slice insightsengineering/tern.gee insightsengineering/tern.mmrm insightsengineering/nestcolor diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 58b097654..323ce2afd 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -22,6 +22,7 @@ jobs: insightsengineering/teal.transform insightsengineering/tern insightsengineering/rlistings + insightsengineering/formatters insightsengineering/rtables insightsengineering/rtables.officer insightsengineering/teal.code @@ -29,6 +30,7 @@ jobs: insightsengineering/teal.logger insightsengineering/teal.reporter insightsengineering/teal.widgets + insightsengineering/teal.slice insightsengineering/tern.gee insightsengineering/tern.mmrm insightsengineering/nestcolor @@ -46,6 +48,7 @@ jobs: insightsengineering/teal.transform insightsengineering/tern insightsengineering/rlistings + insightsengineering/formatters insightsengineering/rtables insightsengineering/rtables.officer insightsengineering/teal.code @@ -53,6 +56,7 @@ jobs: insightsengineering/teal.logger insightsengineering/teal.reporter insightsengineering/teal.widgets + insightsengineering/teal.slice insightsengineering/tern.gee insightsengineering/tern.mmrm insightsengineering/nestcolor @@ -87,6 +91,7 @@ jobs: insightsengineering/teal.transform insightsengineering/tern insightsengineering/rlistings + insightsengineering/formatters insightsengineering/rtables insightsengineering/rtables.officer insightsengineering/teal.code @@ -94,6 +99,7 @@ jobs: insightsengineering/teal.logger insightsengineering/teal.reporter insightsengineering/teal.widgets + insightsengineering/teal.slice insightsengineering/tern.gee insightsengineering/tern.mmrm insightsengineering/nestcolor @@ -113,6 +119,7 @@ jobs: insightsengineering/teal.transform insightsengineering/tern insightsengineering/rlistings + insightsengineering/formatters insightsengineering/rtables insightsengineering/rtables.officer insightsengineering/teal.code @@ -120,6 +127,7 @@ jobs: insightsengineering/teal.logger insightsengineering/teal.reporter insightsengineering/teal.widgets + insightsengineering/teal.slice insightsengineering/tern.gee insightsengineering/tern.mmrm insightsengineering/nestcolor diff --git a/.github/workflows/scheduled.yaml b/.github/workflows/scheduled.yaml index 498229484..eb913b2ea 100644 --- a/.github/workflows/scheduled.yaml +++ b/.github/workflows/scheduled.yaml @@ -62,6 +62,7 @@ jobs: insightsengineering/teal.transform insightsengineering/tern insightsengineering/rlistings + insightsengineering/formatters insightsengineering/rtables insightsengineering/rtables.officer insightsengineering/teal.code @@ -69,6 +70,7 @@ jobs: insightsengineering/teal.logger insightsengineering/teal.reporter insightsengineering/teal.widgets + insightsengineering/teal.slice insightsengineering/tern.gee insightsengineering/tern.mmrm rhub: @@ -85,6 +87,7 @@ jobs: insightsengineering/teal.transform insightsengineering/tern insightsengineering/rlistings + insightsengineering/formatters insightsengineering/rtables insightsengineering/rtables.officer insightsengineering/teal.code @@ -92,5 +95,6 @@ jobs: insightsengineering/teal.logger insightsengineering/teal.reporter insightsengineering/teal.widgets + insightsengineering/teal.slice insightsengineering/tern.gee insightsengineering/tern.mmrm From 33eb2b79991bc09b544b820c7f7f268d82ed513e Mon Sep 17 00:00:00 2001 From: vedhav Date: Tue, 10 Dec 2024 17:32:42 +0530 Subject: [PATCH 3/4] rip `staged_dependencies.yaml` --- staged_dependencies.yaml | 47 ---------------------------------------- 1 file changed, 47 deletions(-) delete mode 100644 staged_dependencies.yaml diff --git a/staged_dependencies.yaml b/staged_dependencies.yaml deleted file mode 100644 index 967c4e3d0..000000000 --- a/staged_dependencies.yaml +++ /dev/null @@ -1,47 +0,0 @@ -current_repo: - repo: insightsengineering/teal.modules.clinical - host: https://github.com -upstream_repos: - insightsengineering/tern: - repo: insightsengineering/tern - host: https://github.com - insightsengineering/tern.mmrm: - repo: insightsengineering/tern.mmrm - host: https://github.com - insightsengineering/tern.gee: - repo: insightsengineering/tern.gee - host: https://github.com - insightsengineering/rlistings: - repo: insightsengineering/rlistings - host: https://github.com - insightsengineering/rtables: - repo: insightsengineering/rtables - host: https://github.com - insightsengineering/teal.logger: - repo: insightsengineering/teal.logger - host: https://github.com - insightsengineering/teal.reporter: - repo: insightsengineering/teal.reporter - host: https://github.com - insightsengineering/teal.widgets: - repo: insightsengineering/teal.widgets - host: https://github.com - insightsengineering/teal.code: - repo: insightsengineering/teal.code - host: https://github.com - insightsengineering/teal.data: - repo: insightsengineering/teal.data - host: https://github.com - insightsengineering/teal.transform: - repo: insightsengineering/teal.transform - host: https://github.com - insightsengineering/teal: - repo: insightsengineering/teal - host: https://github.com - insightsengineering/nestcolor: - repo: insightsengineering/nestcolor - host: https://github.com - insightsengineering/roxy.shinylive: - repo: insightsengineering/roxy.shinylive - host: https://github.com -downstream_repos: From bf492d27588e7886c211d4cbad7cad9a6697a700 Mon Sep 17 00:00:00 2001 From: vedhav Date: Wed, 11 Dec 2024 18:35:35 +0530 Subject: [PATCH 4/4] revert sd --- staged_dependencies.yaml | 47 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 staged_dependencies.yaml diff --git a/staged_dependencies.yaml b/staged_dependencies.yaml new file mode 100644 index 000000000..967c4e3d0 --- /dev/null +++ b/staged_dependencies.yaml @@ -0,0 +1,47 @@ +current_repo: + repo: insightsengineering/teal.modules.clinical + host: https://github.com +upstream_repos: + insightsengineering/tern: + repo: insightsengineering/tern + host: https://github.com + insightsengineering/tern.mmrm: + repo: insightsengineering/tern.mmrm + host: https://github.com + insightsengineering/tern.gee: + repo: insightsengineering/tern.gee + host: https://github.com + insightsengineering/rlistings: + repo: insightsengineering/rlistings + host: https://github.com + insightsengineering/rtables: + repo: insightsengineering/rtables + host: https://github.com + insightsengineering/teal.logger: + repo: insightsengineering/teal.logger + host: https://github.com + insightsengineering/teal.reporter: + repo: insightsengineering/teal.reporter + host: https://github.com + insightsengineering/teal.widgets: + repo: insightsengineering/teal.widgets + host: https://github.com + insightsengineering/teal.code: + repo: insightsengineering/teal.code + host: https://github.com + insightsengineering/teal.data: + repo: insightsengineering/teal.data + host: https://github.com + insightsengineering/teal.transform: + repo: insightsengineering/teal.transform + host: https://github.com + insightsengineering/teal: + repo: insightsengineering/teal + host: https://github.com + insightsengineering/nestcolor: + repo: insightsengineering/nestcolor + host: https://github.com + insightsengineering/roxy.shinylive: + repo: insightsengineering/roxy.shinylive + host: https://github.com +downstream_repos: