Skip to content

Commit

Permalink
add setup-r-dependencies (#355)
Browse files Browse the repository at this point in the history
Related to
insightsengineering/nestdevs-tasks#65
Switch to setup-r-dependencies.
Added teal.code for `lookup-refs`.
  • Loading branch information
donyunardi authored Dec 10, 2024
1 parent 865e749 commit 3b02bcb
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@ 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.code
r-cmd-non-cran:
name: R CMD Check (non-CRAN) 🧬
uses: insightsengineering/r.pkg.template/.github/workflows/build-check-install.yaml@main
Expand All @@ -61,6 +65,10 @@ 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.code
coverage:
name: Coverage πŸ“”
uses: insightsengineering/r.pkg.template/.github/workflows/test-coverage.yaml@main
Expand All @@ -69,6 +77,9 @@ jobs:
with:
additional-env-vars: |
NOT_CRAN=true
deps-installation-method: setup-r-dependencies
lookup-refs: |
insightsengineering/teal.code
linter:
if: github.event_name != 'push'
name: SuperLinter πŸ¦Έβ€β™€οΈ
Expand All @@ -80,6 +91,9 @@ jobs:
REPO_GITHUB_TOKEN: ${{ secrets.REPO_GITHUB_TOKEN }}
with:
auto-update: true
deps-installation-method: setup-r-dependencies
lookup-refs: |
insightsengineering/teal.code
gitleaks:
name: gitleaks πŸ’§
uses: insightsengineering/r.pkg.template/.github/workflows/gitleaks.yaml@main
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,6 @@ 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.code
13 changes: 13 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,19 @@ jobs:
REPO_GITHUB_TOKEN: ${{ secrets.REPO_GITHUB_TOKEN }}
with:
default-landing-page: latest-tag
deps-installation-method: setup-r-dependencies
lookup-refs: |
insightsengineering/teal.code
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.code
release:
name: Create release πŸŽ‰
uses: insightsengineering/r.pkg.template/.github/workflows/release.yaml@main
Expand All @@ -46,6 +53,9 @@ 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.code
coverage:
name: Coverage πŸ“”
needs: [release, docs]
Expand All @@ -55,6 +65,9 @@ jobs:
with:
additional-env-vars: |
NOT_CRAN=true
deps-installation-method: setup-r-dependencies
lookup-refs: |
insightsengineering/teal.code
wasm:
name: Build WASM packages πŸ§‘β€πŸ­
needs: release
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/scheduled.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,9 @@ jobs:
)
name: revdepcheck ↩️
uses: insightsengineering/r.pkg.template/.github/workflows/revdepcheck.yaml@main
with:
lookup-refs: |
insightsengineering/teal.code
rhub:
if: >
github.event_name == 'schedule' || (
Expand Down

0 comments on commit 3b02bcb

Please sign in to comment.