From faec12ce7e7f8027a2968ead60d388a65712aa58 Mon Sep 17 00:00:00 2001 From: vedhav Date: Tue, 10 Dec 2024 15:34:25 +0530 Subject: [PATCH 1/3] add setup-r-dependencies --- .github/workflows/check.yaml | 56 +++++++++++++++++++++++++++++++ .github/workflows/docs.yaml | 14 ++++++++ .github/workflows/release.yaml | 57 ++++++++++++++++++++++++++++++++ .github/workflows/scheduled.yaml | 8 +++-- 4 files changed, 132 insertions(+), 3 deletions(-) diff --git a/.github/workflows/check.yaml b/.github/workflows/check.yaml index e7b7ebc6b..35280ba5e 100644 --- a/.github/workflows/check.yaml +++ b/.github/workflows/check.yaml @@ -42,6 +42,20 @@ 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/roxy.shinylive + insightsengineering/teal + insightsengineering/teal.transform + insightsengineering/teal.code + insightsengineering/teal.data + insightsengineering/teal.logger + insightsengineering/teal.reporter + insightsengineering/teal.widgets + insightsengineering/tern + insightsengineering/rtables + insightsengineering/rtables.officer + insightsengineering/nestcolor r-cmd-non-cran: name: R CMD Check (non-CRAN) 🧬 uses: insightsengineering/r.pkg.template/.github/workflows/build-check-install.yaml@main @@ -64,6 +78,20 @@ 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/roxy.shinylive + insightsengineering/teal + insightsengineering/teal.transform + insightsengineering/teal.code + insightsengineering/teal.data + insightsengineering/teal.logger + insightsengineering/teal.reporter + insightsengineering/teal.widgets + insightsengineering/tern + insightsengineering/rtables + insightsengineering/rtables.officer + insightsengineering/nestcolor coverage: name: Coverage πŸ“” uses: insightsengineering/r.pkg.template/.github/workflows/test-coverage.yaml@main @@ -72,6 +100,20 @@ jobs: with: additional-env-vars: | NOT_CRAN=true + deps-installation-method: setup-r-dependencies + lookup-refs: | + insightsengineering/roxy.shinylive + insightsengineering/teal + insightsengineering/teal.transform + insightsengineering/teal.code + insightsengineering/teal.data + insightsengineering/teal.logger + insightsengineering/teal.reporter + insightsengineering/teal.widgets + insightsengineering/tern + insightsengineering/rtables + insightsengineering/rtables.officer + insightsengineering/nestcolor linter: if: github.event_name != 'push' name: SuperLinter πŸ¦Έβ€β™€οΈ @@ -83,6 +125,20 @@ jobs: REPO_GITHUB_TOKEN: ${{ secrets.REPO_GITHUB_TOKEN }} with: auto-update: true + deps-installation-method: setup-r-dependencies + lookup-refs: | + insightsengineering/roxy.shinylive + insightsengineering/teal + insightsengineering/teal.transform + insightsengineering/teal.code + insightsengineering/teal.data + insightsengineering/teal.logger + insightsengineering/teal.reporter + insightsengineering/teal.widgets + insightsengineering/tern + insightsengineering/rtables + insightsengineering/rtables.officer + insightsengineering/nestcolor 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..74b7c1209 100644 --- a/.github/workflows/docs.yaml +++ b/.github/workflows/docs.yaml @@ -42,3 +42,17 @@ 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/roxy.shinylive + insightsengineering/teal + insightsengineering/teal.transform + insightsengineering/teal.code + insightsengineering/teal.data + insightsengineering/teal.logger + insightsengineering/teal.reporter + insightsengineering/teal.widgets + insightsengineering/tern + insightsengineering/rtables + insightsengineering/rtables.officer + insightsengineering/nestcolor diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index aa3e7bb45..57074771f 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -16,12 +16,41 @@ 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/teal.code + insightsengineering/teal.data + insightsengineering/teal.logger + insightsengineering/teal.reporter + insightsengineering/teal.widgets + insightsengineering/tern + insightsengineering/nestcolor + insightsengineering/roxy.shinylive + insightsengineering/rtables + insightsengineering/rtables.officer 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/teal.code + insightsengineering/teal.data + insightsengineering/teal.logger + insightsengineering/teal.reporter + insightsengineering/teal.widgets + insightsengineering/tern + insightsengineering/nestcolor + insightsengineering/roxy.shinylive + insightsengineering/rtables + insightsengineering/rtables.officer release: name: Create release πŸŽ‰ uses: insightsengineering/r.pkg.template/.github/workflows/release.yaml@main @@ -46,6 +75,20 @@ 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/roxy.shinylive + insightsengineering/teal + insightsengineering/teal.transform + insightsengineering/teal.code + insightsengineering/teal.data + insightsengineering/teal.logger + insightsengineering/teal.reporter + insightsengineering/teal.widgets + insightsengineering/tern + insightsengineering/rtables + insightsengineering/rtables.officer + insightsengineering/nestcolor coverage: name: Coverage πŸ“” needs: [release, docs] @@ -55,6 +98,20 @@ jobs: with: additional-env-vars: | NOT_CRAN=true + deps-installation-method: setup-r-dependencies + lookup-refs: | + insightsengineering/roxy.shinylive + insightsengineering/teal + insightsengineering/teal.transform + insightsengineering/teal.code + insightsengineering/teal.data + insightsengineering/teal.logger + insightsengineering/teal.reporter + insightsengineering/teal.widgets + insightsengineering/tern + insightsengineering/rtables + insightsengineering/rtables.officer + insightsengineering/nestcolor wasm: name: Build WASM packages πŸ§‘β€πŸ­ needs: release diff --git a/.github/workflows/scheduled.yaml b/.github/workflows/scheduled.yaml index 2aace5e2b..87f0b69a6 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: @@ -63,12 +63,13 @@ jobs: insightsengineering/teal.transform insightsengineering/teal.code insightsengineering/teal.data - insightsengineering/teal.slice insightsengineering/teal.logger insightsengineering/teal.reporter insightsengineering/teal.widgets insightsengineering/tern insightsengineering/rtables + insightsengineering/rtables.officer + insightsengineering/nestcolor rhub: if: > github.event_name == 'schedule' || ( @@ -84,9 +85,10 @@ jobs: insightsengineering/teal.transform insightsengineering/teal.code insightsengineering/teal.data - insightsengineering/teal.slice insightsengineering/teal.logger insightsengineering/teal.reporter insightsengineering/teal.widgets insightsengineering/tern insightsengineering/rtables + insightsengineering/rtables.officer + insightsengineering/nestcolor From 847368d1d54ce4d496c4806c1aba1e98db584453 Mon Sep 17 00:00:00 2001 From: vedhav Date: Tue, 10 Dec 2024 15:47:52 +0530 Subject: [PATCH 2/3] add `teal.slice` and `formatters` ref --- .github/workflows/check.yaml | 8 ++++++++ .github/workflows/docs.yaml | 2 ++ .github/workflows/release.yaml | 5 +++++ .github/workflows/scheduled.yaml | 4 ++++ 4 files changed, 19 insertions(+) diff --git a/.github/workflows/check.yaml b/.github/workflows/check.yaml index 35280ba5e..187f8bb41 100644 --- a/.github/workflows/check.yaml +++ b/.github/workflows/check.yaml @@ -52,7 +52,9 @@ jobs: insightsengineering/teal.logger insightsengineering/teal.reporter insightsengineering/teal.widgets + insightsengineering/teal.slice insightsengineering/tern + insightsengineering/formatters insightsengineering/rtables insightsengineering/rtables.officer insightsengineering/nestcolor @@ -88,7 +90,9 @@ jobs: insightsengineering/teal.logger insightsengineering/teal.reporter insightsengineering/teal.widgets + insightsengineering/teal.slice insightsengineering/tern + insightsengineering/formatters insightsengineering/rtables insightsengineering/rtables.officer insightsengineering/nestcolor @@ -110,7 +114,9 @@ jobs: insightsengineering/teal.logger insightsengineering/teal.reporter insightsengineering/teal.widgets + insightsengineering/teal.slice insightsengineering/tern + insightsengineering/formatters insightsengineering/rtables insightsengineering/rtables.officer insightsengineering/nestcolor @@ -135,7 +141,9 @@ jobs: insightsengineering/teal.logger insightsengineering/teal.reporter insightsengineering/teal.widgets + insightsengineering/teal.slice insightsengineering/tern + insightsengineering/formatters insightsengineering/rtables insightsengineering/rtables.officer insightsengineering/nestcolor diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml index 74b7c1209..2e3d8a86c 100644 --- a/.github/workflows/docs.yaml +++ b/.github/workflows/docs.yaml @@ -52,7 +52,9 @@ jobs: insightsengineering/teal.logger insightsengineering/teal.reporter insightsengineering/teal.widgets + insightsengineering/teal.slice insightsengineering/tern + insightsengineering/formatters insightsengineering/rtables insightsengineering/rtables.officer insightsengineering/nestcolor diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 57074771f..4d94ee58d 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -28,6 +28,7 @@ jobs: insightsengineering/tern insightsengineering/nestcolor insightsengineering/roxy.shinylive + insightsengineering/formatters insightsengineering/rtables insightsengineering/rtables.officer validation: @@ -49,6 +50,7 @@ jobs: insightsengineering/tern insightsengineering/nestcolor insightsengineering/roxy.shinylive + insightsengineering/formatters insightsengineering/rtables insightsengineering/rtables.officer release: @@ -86,6 +88,7 @@ jobs: insightsengineering/teal.reporter insightsengineering/teal.widgets insightsengineering/tern + insightsengineering/formatters insightsengineering/rtables insightsengineering/rtables.officer insightsengineering/nestcolor @@ -108,7 +111,9 @@ jobs: insightsengineering/teal.logger insightsengineering/teal.reporter insightsengineering/teal.widgets + insightsengineering/teal.slice insightsengineering/tern + insightsengineering/formatters insightsengineering/rtables insightsengineering/rtables.officer insightsengineering/nestcolor diff --git a/.github/workflows/scheduled.yaml b/.github/workflows/scheduled.yaml index 87f0b69a6..50cc3e050 100644 --- a/.github/workflows/scheduled.yaml +++ b/.github/workflows/scheduled.yaml @@ -66,7 +66,9 @@ jobs: insightsengineering/teal.logger insightsengineering/teal.reporter insightsengineering/teal.widgets + insightsengineering/teal.slice insightsengineering/tern + insightsengineering/formatters insightsengineering/rtables insightsengineering/rtables.officer insightsengineering/nestcolor @@ -88,7 +90,9 @@ jobs: insightsengineering/teal.logger insightsengineering/teal.reporter insightsengineering/teal.widgets + insightsengineering/teal.slice insightsengineering/tern + insightsengineering/formatters insightsengineering/rtables insightsengineering/rtables.officer insightsengineering/nestcolor From 3121fe29ecff75f31efd7d295799656ab7b3d3b1 Mon Sep 17 00:00:00 2001 From: vedhav Date: Tue, 10 Dec 2024 17:32:34 +0530 Subject: [PATCH 3/3] rip `staged_dependencies.yaml` --- staged_dependencies.yaml | 41 ---------------------------------------- 1 file changed, 41 deletions(-) delete mode 100644 staged_dependencies.yaml diff --git a/staged_dependencies.yaml b/staged_dependencies.yaml deleted file mode 100644 index d484dfe68..000000000 --- a/staged_dependencies.yaml +++ /dev/null @@ -1,41 +0,0 @@ -current_repo: - repo: insightsengineering/teal.modules.general - host: https://github.com -upstream_repos: - insightsengineering/nestcolor: - repo: insightsengineering/nestcolor - host: https://github.com - insightsengineering/roxy.shinylive: - repo: insightsengineering/roxy.shinylive - host: https://github.com - insightsengineering/teal.logger: - repo: insightsengineering/teal.logger - host: https://github.com - insightsengineering/teal.widgets: - repo: insightsengineering/teal.widgets - host: https://github.com - insightsengineering/teal.data: - repo: insightsengineering/teal.data - host: https://github.com - insightsengineering/teal.code: - repo: insightsengineering/teal.code - host: https://github.com - insightsengineering/teal.reporter: - repo: insightsengineering/teal.reporter - host: https://github.com - insightsengineering/teal.slice: - repo: insightsengineering/teal.slice - 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/tern: - repo: insightsengineering/tern - host: https://github.com - insightsengineering/rtables: - repo: insightsengineering/rtables - host: https://github.com -downstream_repos: