Skip to content

Commit

Permalink
add setup-r-dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
donyunardi committed Dec 9, 2024
1 parent 027f2ce commit 0d4d6da
Show file tree
Hide file tree
Showing 4 changed files with 74 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,13 @@ 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.data
insightsengineering/teal.logger
insightsengineering/teal.widgets
insightsengineering/formatters
insightsengineering/rtables
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 +69,13 @@ 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.data
insightsengineering/teal.logger
insightsengineering/teal.widgets
insightsengineering/formatters
insightsengineering/rtables
coverage:
name: Coverage 📔
uses: insightsengineering/r.pkg.template/.github/workflows/test-coverage.yaml@main
Expand All @@ -70,6 +84,13 @@ jobs:
with:
additional-env-vars: |
NOT_CRAN=true
deps-installation-method: setup-r-dependencies
lookup-refs: |
insightsengineering/teal.data
insightsengineering/teal.logger
insightsengineering/teal.widgets
insightsengineering/formatters
insightsengineering/rtables
linter:
if: github.event_name != 'push'
name: SuperLinter 🦸‍♀️
Expand All @@ -81,6 +102,13 @@ jobs:
REPO_GITHUB_TOKEN: ${{ secrets.REPO_GITHUB_TOKEN }}
with:
auto-update: true
deps-installation-method: setup-r-dependencies
lookup-refs: |
insightsengineering/teal.data
insightsengineering/teal.logger
insightsengineering/teal.widgets
insightsengineering/formatters
insightsengineering/rtables
gitleaks:
name: gitleaks 💧
uses: insightsengineering/r.pkg.template/.github/workflows/gitleaks.yaml@main
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,10 @@ 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.data
insightsengineering/teal.logger
insightsengineering/teal.widgets
insightsengineering/formatters
insightsengineering/rtables
29 changes: 29 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,27 @@ jobs:
REPO_GITHUB_TOKEN: ${{ secrets.REPO_GITHUB_TOKEN }}
with:
default-landing-page: latest-tag
deps-installation-method: setup-r-dependencies
lookup-refs: |
insightsengineering/teal.data
insightsengineering/teal.logger
insightsengineering/teal.widgets
insightsengineering/formatters
insightsengineering/rtables
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.data
insightsengineering/teal.logger
insightsengineering/teal.widgets
insightsengineering/formatters
insightsengineering/rtables
release:
name: Create release 🎉
uses: insightsengineering/r.pkg.template/.github/workflows/release.yaml@main
Expand All @@ -46,6 +61,13 @@ 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.data
insightsengineering/teal.logger
insightsengineering/teal.widgets
insightsengineering/formatters
insightsengineering/rtables
coverage:
name: Coverage 📔
needs: [release, docs]
Expand All @@ -55,6 +77,13 @@ jobs:
with:
additional-env-vars: |
NOT_CRAN=true
deps-installation-method: setup-r-dependencies
lookup-refs: |
insightsengineering/teal.data
insightsengineering/teal.logger
insightsengineering/teal.widgets
insightsengineering/formatters
insightsengineering/rtables
wasm:
name: Build WASM packages 🧑‍🏭
needs: release
Expand Down
10 changes: 10 additions & 0 deletions .github/workflows/scheduled.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,13 @@ jobs:
)
name: revdepcheck ↩️
uses: insightsengineering/r.pkg.template/.github/workflows/revdepcheck.yaml@main
with:
lookup-refs: |
insightsengineering/teal.data
insightsengineering/teal.logger
insightsengineering/teal.widgets
insightsengineering/formatters
insightsengineering/rtables
rhub:
if: >
github.event_name == 'schedule' || (
Expand All @@ -70,5 +77,8 @@ jobs:
lookup-refs: |
insightsengineering/teal.data
insightsengineering/teal.logger
insightsengineering/teal.widgets
insightsengineering/formatters
insightsengineering/rtables
secrets:
REPO_GITHUB_TOKEN: ${{ secrets.REPO_GITHUB_TOKEN }}

0 comments on commit 0d4d6da

Please sign in to comment.