Skip to content

Commit

Permalink
add setup-r-dependencies (#289)
Browse files Browse the repository at this point in the history
Related to
insightsengineering/nestdevs-tasks#65
Switch to setup-r-dependencies.
Added `teal.osprey` for lookup-refs.

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
vedhav and github-actions[bot] authored Dec 12, 2024
1 parent 5aea1b5 commit 9cef89e
Show file tree
Hide file tree
Showing 9 changed files with 162 additions and 21 deletions.
60 changes: 60 additions & 0 deletions .github/workflows/check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,21 @@ 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/osprey
insightsengineering/formatters
insightsengineering/rtables
insightsengineering/rtables.officer
insightsengineering/tern
insightsengineering/teal.logger
insightsengineering/teal.code
insightsengineering/teal.data
insightsengineering/teal.slice
insightsengineering/teal.reporter
insightsengineering/teal.widgets
insightsengineering/teal.transform
insightsengineering/teal
r-cmd-non-cran:
name: R CMD Check (non-CRAN) 🧬
uses: insightsengineering/r.pkg.template/.github/workflows/build-check-install.yaml@main
Expand All @@ -62,6 +77,21 @@ 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/osprey
insightsengineering/formatters
insightsengineering/rtables
insightsengineering/rtables.officer
insightsengineering/tern
insightsengineering/teal.logger
insightsengineering/teal.code
insightsengineering/teal.data
insightsengineering/teal.slice
insightsengineering/teal.reporter
insightsengineering/teal.widgets
insightsengineering/teal.transform
insightsengineering/teal
coverage:
name: Coverage 📔
uses: insightsengineering/r.pkg.template/.github/workflows/test-coverage.yaml@main
Expand All @@ -70,6 +100,21 @@ jobs:
with:
additional-env-vars: |
NOT_CRAN=true
deps-installation-method: setup-r-dependencies
lookup-refs: |
insightsengineering/osprey
insightsengineering/formatters
insightsengineering/rtables
insightsengineering/rtables.officer
insightsengineering/tern
insightsengineering/teal.logger
insightsengineering/teal.code
insightsengineering/teal.data
insightsengineering/teal.slice
insightsengineering/teal.reporter
insightsengineering/teal.widgets
insightsengineering/teal.transform
insightsengineering/teal
linter:
if: github.event_name != 'push'
name: SuperLinter 🦸‍♀️
Expand All @@ -81,6 +126,21 @@ jobs:
REPO_GITHUB_TOKEN: ${{ secrets.REPO_GITHUB_TOKEN }}
with:
auto-update: true
deps-installation-method: setup-r-dependencies
lookup-refs: |
insightsengineering/osprey
insightsengineering/formatters
insightsengineering/rtables
insightsengineering/rtables.officer
insightsengineering/tern
insightsengineering/teal.logger
insightsengineering/teal.code
insightsengineering/teal.data
insightsengineering/teal.slice
insightsengineering/teal.reporter
insightsengineering/teal.widgets
insightsengineering/teal.transform
insightsengineering/teal
gitleaks:
name: gitleaks 💧
uses: insightsengineering/r.pkg.template/.github/workflows/gitleaks.yaml@main
Expand Down
15 changes: 15 additions & 0 deletions .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,18 @@ 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/osprey
insightsengineering/formatters
insightsengineering/rtables
insightsengineering/rtables.officer
insightsengineering/tern
insightsengineering/teal.logger
insightsengineering/teal.code
insightsengineering/teal.data
insightsengineering/teal.slice
insightsengineering/teal.reporter
insightsengineering/teal.widgets
insightsengineering/teal.transform
insightsengineering/teal
61 changes: 61 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,43 @@ jobs:
REPO_GITHUB_TOKEN: ${{ secrets.REPO_GITHUB_TOKEN }}
with:
default-landing-page: latest-tag
deps-installation-method: setup-r-dependencies
lookup-refs: |
insightsengineering/osprey
insightsengineering/formatters
insightsengineering/rtables
insightsengineering/rtables.officer
insightsengineering/tern
insightsengineering/teal.logger
insightsengineering/teal.code
insightsengineering/teal.data
insightsengineering/teal.slice
insightsengineering/teal.reporter
insightsengineering/teal.widgets
insightsengineering/teal.transform
insightsengineering/teal
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/osprey
insightsengineering/formatters
insightsengineering/rtables
insightsengineering/rtables.officer
insightsengineering/tern
insightsengineering/teal.logger
insightsengineering/teal.code
insightsengineering/teal.data
insightsengineering/teal.slice
insightsengineering/teal.reporter
insightsengineering/teal.widgets
insightsengineering/teal.transform
insightsengineering/teal
release:
name: Create release 🎉
uses: insightsengineering/r.pkg.template/.github/workflows/release.yaml@main
Expand All @@ -46,6 +77,21 @@ 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/osprey
insightsengineering/formatters
insightsengineering/rtables
insightsengineering/rtables.officer
insightsengineering/tern
insightsengineering/teal.logger
insightsengineering/teal.code
insightsengineering/teal.data
insightsengineering/teal.slice
insightsengineering/teal.reporter
insightsengineering/teal.widgets
insightsengineering/teal.transform
insightsengineering/teal
coverage:
name: Coverage 📔
needs: [release, docs]
Expand All @@ -55,6 +101,21 @@ jobs:
with:
additional-env-vars: |
NOT_CRAN=true
deps-installation-method: setup-r-dependencies
lookup-refs: |
insightsengineering/osprey
insightsengineering/formatters
insightsengineering/rtables
insightsengineering/rtables.officer
insightsengineering/tern
insightsengineering/teal.logger
insightsengineering/teal.code
insightsengineering/teal.data
insightsengineering/teal.slice
insightsengineering/teal.reporter
insightsengineering/teal.widgets
insightsengineering/teal.transform
insightsengineering/teal
wasm:
name: Build WASM packages 🧑‍🏭
needs: release
Expand Down
27 changes: 16 additions & 11 deletions .github/workflows/scheduled.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Scheduled 🕰️

on:
schedule:
- cron: '45 3 * * 0'
- cron: "45 3 * * 0"
workflow_dispatch:
inputs:
chosen-workflow:
Expand Down Expand Up @@ -59,15 +59,18 @@ jobs:
with:
lookup-refs: |
insightsengineering/osprey
insightsengineering/teal
insightsengineering/teal.transform
insightsengineering/formatters
insightsengineering/teal.code
insightsengineering/rtables
insightsengineering/rtables.officer
insightsengineering/tern
insightsengineering/teal.logger
insightsengineering/teal.code
insightsengineering/teal.data
insightsengineering/teal.slice
insightsengineering/teal.reporter
insightsengineering/teal.widgets
insightsengineering/tern
insightsengineering/teal.data
insightsengineering/teal.transform
insightsengineering/teal
rhub:
if: >
github.event_name == 'schedule' || (
Expand All @@ -79,13 +82,15 @@ jobs:
with:
lookup-refs: |
insightsengineering/osprey
insightsengineering/teal
insightsengineering/teal.transform
insightsengineering/formatters
insightsengineering/rtables
insightsengineering/rtables.officer
insightsengineering/tern
insightsengineering/teal.logger
insightsengineering/teal.code
insightsengineering/teal.data
insightsengineering/teal.slice
insightsengineering/teal.logger
insightsengineering/teal.reporter
insightsengineering/teal.widgets
insightsengineering/tern
insightsengineering/teal.data
insightsengineering/teal.transform
insightsengineering/teal
4 changes: 2 additions & 2 deletions man/tm_g_butterfly.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions man/tm_g_patient_profile.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions man/tm_g_spiderplot.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions man/tm_g_swimlane.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions man/tm_g_waterfall.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 9cef89e

Please sign in to comment.