From 94127df338ff81925b4e959d06edbd4a3f24c8a3 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, 20 Nov 2024 09:25:30 +0100 Subject: [PATCH] Fixes `setup-r-dependencies` by adding `rtables.officer` (#1419) Workflows are failing on main and on every PR as `rtables.officer` is not yet released on CRAN. `rtables.officer` is an indirect dependency via `teal.reporter`. ### Changes description - Adds rtables and rtables.officer to `lookup-refs` on `setup-r-dependencies` workflow --- .github/workflows/check.yaml | 10 ++++++++++ .github/workflows/docs.yaml | 2 ++ .github/workflows/release.yaml | 8 ++++++++ .github/workflows/scheduled.yaml | 4 ++++ 4 files changed, 24 insertions(+) diff --git a/.github/workflows/check.yaml b/.github/workflows/check.yaml index 03297d30fc..35c7bb7c53 100644 --- a/.github/workflows/check.yaml +++ b/.github/workflows/check.yaml @@ -50,6 +50,9 @@ jobs: insightsengineering/teal.logger insightsengineering/teal.reporter insightsengineering/teal.widgets + insightsengineering/rtables + insightsengineering/rtables.officer + r-cmd-non-cran: name: R CMD Check (non-CRAN) 🧬 uses: insightsengineering/r.pkg.template/.github/workflows/build-check-install.yaml@main @@ -79,6 +82,9 @@ jobs: insightsengineering/teal.logger insightsengineering/teal.reporter insightsengineering/teal.widgets + insightsengineering/rtables + insightsengineering/rtables.officer + coverage: name: Coverage πŸ“” uses: insightsengineering/r.pkg.template/.github/workflows/test-coverage.yaml@main @@ -95,6 +101,8 @@ jobs: insightsengineering/teal.logger insightsengineering/teal.reporter insightsengineering/teal.widgets + insightsengineering/rtables + insightsengineering/rtables.officer linter: if: github.event_name != 'push' name: SuperLinter πŸ¦Έβ€β™€οΈ @@ -114,6 +122,8 @@ jobs: insightsengineering/teal.logger insightsengineering/teal.reporter insightsengineering/teal.widgets + insightsengineering/rtables + insightsengineering/rtables.officer 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 7c3e2f9617..d4fae1f3f3 100644 --- a/.github/workflows/docs.yaml +++ b/.github/workflows/docs.yaml @@ -50,3 +50,5 @@ jobs: insightsengineering/teal.logger insightsengineering/teal.reporter insightsengineering/teal.widgets + insightsengineering/rtables + insightsengineering/rtables.officer diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 1f5cb83933..bddb1c4374 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -24,6 +24,8 @@ jobs: insightsengineering/teal.logger insightsengineering/teal.reporter insightsengineering/teal.widgets + insightsengineering/rtables + insightsengineering/rtables.officer validation: name: R Package Validation report πŸ“ƒ needs: release @@ -39,6 +41,8 @@ jobs: insightsengineering/teal.logger insightsengineering/teal.reporter insightsengineering/teal.widgets + insightsengineering/rtables + insightsengineering/rtables.officer release: name: Create release πŸŽ‰ uses: insightsengineering/r.pkg.template/.github/workflows/release.yaml@main @@ -71,6 +75,8 @@ jobs: insightsengineering/teal.logger insightsengineering/teal.reporter insightsengineering/teal.widgets + insightsengineering/rtables + insightsengineering/rtables.officer coverage: name: Coverage πŸ“” needs: [release, docs] @@ -88,6 +94,8 @@ jobs: insightsengineering/teal.logger insightsengineering/teal.reporter insightsengineering/teal.widgets + insightsengineering/rtables + insightsengineering/rtables.officer wasm: name: Build WASM packages πŸ§‘β€πŸ­ needs: release diff --git a/.github/workflows/scheduled.yaml b/.github/workflows/scheduled.yaml index 104b05f4b0..4060f5cf99 100644 --- a/.github/workflows/scheduled.yaml +++ b/.github/workflows/scheduled.yaml @@ -64,6 +64,8 @@ jobs: insightsengineering/teal.logger insightsengineering/teal.reporter insightsengineering/teal.widgets + insightsengineering/rtables + insightsengineering/rtables.officer rhub: if: > github.event_name == 'schedule' || ( @@ -80,3 +82,5 @@ jobs: insightsengineering/teal.logger insightsengineering/teal.reporter insightsengineering/teal.widgets + insightsengineering/rtables + insightsengineering/rtables.officer