Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add setup-r-dependencies #1297

Merged
merged 5 commits into from
Dec 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
76 changes: 76 additions & 0 deletions .github/workflows/check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,25 @@ 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
insightsengineering/teal.transform
insightsengineering/tern
insightsengineering/rlistings
insightsengineering/formatters
insightsengineering/rtables
insightsengineering/rtables.officer
insightsengineering/teal.code
insightsengineering/teal.data
insightsengineering/teal.logger
insightsengineering/teal.reporter
insightsengineering/teal.widgets
insightsengineering/teal.slice
insightsengineering/tern.gee
insightsengineering/tern.mmrm
insightsengineering/nestcolor
insightsengineering/roxy.shinylive
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 +80,25 @@ 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
insightsengineering/teal.transform
insightsengineering/tern
insightsengineering/rlistings
insightsengineering/formatters
insightsengineering/rtables
insightsengineering/rtables.officer
insightsengineering/teal.code
insightsengineering/teal.data
insightsengineering/teal.logger
insightsengineering/teal.reporter
insightsengineering/teal.widgets
insightsengineering/teal.slice
insightsengineering/tern.gee
insightsengineering/tern.mmrm
insightsengineering/nestcolor
insightsengineering/roxy.shinylive
coverage:
name: Coverage 📔
uses: insightsengineering/r.pkg.template/.github/workflows/test-coverage.yaml@main
Expand All @@ -69,6 +107,25 @@ jobs:
with:
additional-env-vars: |
NOT_CRAN=true
deps-installation-method: setup-r-dependencies
lookup-refs: |
insightsengineering/teal
insightsengineering/teal.transform
insightsengineering/tern
insightsengineering/rlistings
insightsengineering/formatters
insightsengineering/rtables
insightsengineering/rtables.officer
insightsengineering/teal.code
insightsengineering/teal.data
insightsengineering/teal.logger
insightsengineering/teal.reporter
insightsengineering/teal.widgets
insightsengineering/teal.slice
insightsengineering/tern.gee
insightsengineering/tern.mmrm
insightsengineering/nestcolor
insightsengineering/roxy.shinylive
linter:
if: github.event_name != 'push'
name: SuperLinter 🦸‍♀️
Expand All @@ -80,6 +137,25 @@ jobs:
REPO_GITHUB_TOKEN: ${{ secrets.REPO_GITHUB_TOKEN }}
with:
auto-update: true
deps-installation-method: setup-r-dependencies
lookup-refs: |
insightsengineering/teal
insightsengineering/teal.transform
insightsengineering/tern
insightsengineering/rlistings
insightsengineering/formatters
insightsengineering/rtables
insightsengineering/rtables.officer
insightsengineering/teal.code
insightsengineering/teal.data
insightsengineering/teal.logger
insightsengineering/teal.reporter
insightsengineering/teal.widgets
insightsengineering/teal.slice
insightsengineering/tern.gee
insightsengineering/tern.mmrm
insightsengineering/nestcolor
insightsengineering/roxy.shinylive
gitleaks:
name: gitleaks 💧
uses: insightsengineering/r.pkg.template/.github/workflows/gitleaks.yaml@main
Expand Down
19 changes: 19 additions & 0 deletions .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,22 @@ 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
insightsengineering/teal.transform
insightsengineering/tern
insightsengineering/rlistings
insightsengineering/formatters
insightsengineering/rtables
insightsengineering/rtables.officer
insightsengineering/teal.code
insightsengineering/teal.data
insightsengineering/teal.logger
insightsengineering/teal.reporter
insightsengineering/teal.widgets
insightsengineering/teal.slice
insightsengineering/tern.gee
insightsengineering/tern.mmrm
insightsengineering/nestcolor
insightsengineering/roxy.shinylive
77 changes: 77 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,51 @@ jobs:
REPO_GITHUB_TOKEN: ${{ secrets.REPO_GITHUB_TOKEN }}
with:
default-landing-page: latest-tag
deps-installation-method: setup-r-dependencies
lookup-refs: |
insightsengineering/teal
insightsengineering/teal.transform
insightsengineering/tern
insightsengineering/rlistings
insightsengineering/formatters
insightsengineering/rtables
insightsengineering/rtables.officer
insightsengineering/teal.code
insightsengineering/teal.data
insightsengineering/teal.logger
insightsengineering/teal.reporter
insightsengineering/teal.widgets
insightsengineering/teal.slice
insightsengineering/tern.gee
insightsengineering/tern.mmrm
insightsengineering/nestcolor
insightsengineering/roxy.shinylive
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
insightsengineering/teal.transform
insightsengineering/tern
insightsengineering/rlistings
insightsengineering/formatters
insightsengineering/rtables
insightsengineering/rtables.officer
insightsengineering/teal.code
insightsengineering/teal.data
insightsengineering/teal.logger
insightsengineering/teal.reporter
insightsengineering/teal.widgets
insightsengineering/teal.slice
insightsengineering/tern.gee
insightsengineering/tern.mmrm
insightsengineering/nestcolor
insightsengineering/roxy.shinylive
release:
name: Create release 🎉
uses: insightsengineering/r.pkg.template/.github/workflows/release.yaml@main
Expand All @@ -46,6 +85,25 @@ 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
insightsengineering/teal.transform
insightsengineering/tern
insightsengineering/rlistings
insightsengineering/formatters
insightsengineering/rtables
insightsengineering/rtables.officer
insightsengineering/teal.code
insightsengineering/teal.data
insightsengineering/teal.logger
insightsengineering/teal.reporter
insightsengineering/teal.widgets
insightsengineering/teal.slice
insightsengineering/tern.gee
insightsengineering/tern.mmrm
insightsengineering/nestcolor
insightsengineering/roxy.shinylive
coverage:
name: Coverage 📔
needs: [release, docs]
Expand All @@ -55,6 +113,25 @@ jobs:
with:
additional-env-vars: |
NOT_CRAN=true
deps-installation-method: setup-r-dependencies
lookup-refs: |
insightsengineering/teal
insightsengineering/teal.transform
insightsengineering/tern
insightsengineering/rlistings
insightsengineering/formatters
insightsengineering/rtables
insightsengineering/rtables.officer
insightsengineering/teal.code
insightsengineering/teal.data
insightsengineering/teal.logger
insightsengineering/teal.reporter
insightsengineering/teal.widgets
insightsengineering/teal.slice
insightsengineering/tern.gee
insightsengineering/tern.mmrm
insightsengineering/nestcolor
insightsengineering/roxy.shinylive
wasm:
name: Build WASM packages 🧑‍🏭
needs: release
Expand Down
23 changes: 21 additions & 2 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 @@ -56,6 +56,23 @@ jobs:
)
name: revdepcheck ↩️
uses: insightsengineering/r.pkg.template/.github/workflows/revdepcheck.yaml@main
with:
lookup-refs: |
insightsengineering/teal
insightsengineering/teal.transform
insightsengineering/tern
insightsengineering/rlistings
insightsengineering/formatters
insightsengineering/rtables
insightsengineering/rtables.officer
insightsengineering/teal.code
insightsengineering/teal.data
insightsengineering/teal.logger
insightsengineering/teal.reporter
insightsengineering/teal.widgets
insightsengineering/teal.slice
insightsengineering/tern.gee
insightsengineering/tern.mmrm
rhub:
if: >
github.event_name == 'schedule' || (
Expand All @@ -70,12 +87,14 @@ jobs:
insightsengineering/teal.transform
insightsengineering/tern
insightsengineering/rlistings
insightsengineering/formatters
insightsengineering/rtables
insightsengineering/rtables.officer
insightsengineering/teal.code
insightsengineering/teal.data
insightsengineering/teal.logger
insightsengineering/teal.reporter
insightsengineering/teal.slice
insightsengineering/teal.widgets
insightsengineering/teal.slice
insightsengineering/tern.gee
insightsengineering/tern.mmrm
Loading