Skip to content

Commit

Permalink
add setup-r-dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
vedhav committed Dec 10, 2024
1 parent 1c2b97f commit dbe129d
Show file tree
Hide file tree
Showing 4 changed files with 46 additions and 1 deletion.
16 changes: 16 additions & 0 deletions .github/workflows/check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,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/nestcolor
insightsengineering/tern
r-cmd-non-cran:
name: R CMD Check (non-CRAN) 🧬
uses: insightsengineering/r.pkg.template/.github/workflows/build-check-install.yaml@main
Expand All @@ -59,6 +63,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/nestcolor
insightsengineering/tern
coverage:
name: Coverage 📔
uses: insightsengineering/r.pkg.template/.github/workflows/test-coverage.yaml@main
Expand All @@ -67,6 +75,10 @@ jobs:
with:
additional-env-vars: |
NOT_CRAN=true
deps-installation-method: setup-r-dependencies
lookup-refs: |
insightsengineering/nestcolor
insightsengineering/tern
linter:
if: github.event_name != 'push'
name: SuperLinter 🦸‍♀️
Expand All @@ -78,6 +90,10 @@ jobs:
REPO_GITHUB_TOKEN: ${{ secrets.REPO_GITHUB_TOKEN }}
with:
auto-update: true
deps-installation-method: setup-r-dependencies
lookup-refs: |
insightsengineering/nestcolor
insightsengineering/tern
gitleaks:
name: gitleaks 💧
uses: insightsengineering/r.pkg.template/.github/workflows/gitleaks.yaml@main
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,7 @@ 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/nestcolor
insightsengineering/tern
17 changes: 17 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,21 @@ jobs:
REPO_GITHUB_TOKEN: ${{ secrets.REPO_GITHUB_TOKEN }}
with:
default-landing-page: latest-tag
deps-installation-method: setup-r-dependencies
lookup-refs: |
insightsengineering/nestcolor
insightsengineering/tern
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/nestcolor
insightsengineering/tern
release:
name: Create release 🎉
uses: insightsengineering/r.pkg.template/.github/workflows/release.yaml@main
Expand All @@ -44,6 +53,10 @@ jobs:
checking examples .* NOTE
checking Rd line widths .* NOTE
checking top-level files .* NOTE
deps-installation-method: setup-r-dependencies
lookup-refs: |
insightsengineering/nestcolor
insightsengineering/tern
coverage:
name: Coverage 📔
needs: [release, docs]
Expand All @@ -53,6 +66,10 @@ jobs:
with:
additional-env-vars: |
NOT_CRAN=true
deps-installation-method: setup-r-dependencies
lookup-refs: |
insightsengineering/nestcolor
insightsengineering/tern
wasm:
name: Build WASM packages 🧑‍🏭
needs: release
Expand Down
10 changes: 9 additions & 1 deletion .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 @@ -56,6 +56,10 @@ jobs:
)
name: revdepcheck ↩️
uses: insightsengineering/r.pkg.template/.github/workflows/revdepcheck.yaml@main
with:
lookup-refs: |
insightsengineering/nestcolor
insightsengineering/tern
rhub:
if: >
github.event_name == 'schedule' || (
Expand All @@ -64,3 +68,7 @@ jobs:
)
name: R-hub 🌐
uses: insightsengineering/r.pkg.template/.github/workflows/rhub.yaml@main
with:
lookup-refs: |
insightsengineering/nestcolor
insightsengineering/tern

0 comments on commit dbe129d

Please sign in to comment.