Ensures required packages are in Imports section #2161
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Check π | |
on: | |
pull_request: | |
types: | |
- opened | |
- synchronize | |
- reopened | |
- ready_for_review | |
branches: | |
- main | |
push: | |
branches: | |
- main | |
workflow_dispatch: | |
jobs: | |
audit: | |
name: Audit Dependencies π΅οΈββοΈ | |
uses: insightsengineering/r.pkg.template/.github/workflows/audit.yaml@main | |
r-cmd: | |
name: R CMD Check 𧬠| |
uses: insightsengineering/r.pkg.template/.github/workflows/build-check-install.yaml@main | |
secrets: | |
REPO_GITHUB_TOKEN: ${{ secrets.REPO_GITHUB_TOKEN }} | |
with: | |
additional-env-vars: | | |
_R_CHECK_CRAN_INCOMING_REMOTE_=false | |
_R_CHECK_EXAMPLE_TIMING_THRESHOLD_=11 | |
TESTING_DEPTH=5 | |
additional-r-cmd-check-params: --as-cran | |
enforce-note-blocklist: true | |
note-blocklist: | | |
checking dependencies in R code .* NOTE | |
checking R code for possible problems .* NOTE | |
checking examples .* NOTE | |
checking Rd line widths .* NOTE | |
checking S3 generic/method consistency .* NOTE | |
checking Rd .usage sections .* NOTE | |
checking for unstated dependencies in vignettes .* NOTE | |
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/roxy.shinylive | |
insightsengineering/teal | |
insightsengineering/teal.transform | |
insightsengineering/teal.code | |
insightsengineering/teal.data | |
insightsengineering/teal.logger | |
insightsengineering/teal.reporter | |
insightsengineering/teal.widgets | |
insightsengineering/teal.slice | |
insightsengineering/tern | |
insightsengineering/formatters | |
insightsengineering/rtables | |
insightsengineering/rtables.officer | |
insightsengineering/nestcolor | |
r-cmd-non-cran: | |
name: R CMD Check (non-CRAN) 𧬠| |
uses: insightsengineering/r.pkg.template/.github/workflows/build-check-install.yaml@main | |
secrets: | |
REPO_GITHUB_TOKEN: ${{ secrets.REPO_GITHUB_TOKEN }} | |
with: | |
additional-env-vars: | | |
_R_CHECK_EXAMPLE_TIMING_THRESHOLD_=11 | |
TESTING_DEPTH=5 | |
NOT_CRAN=true | |
enforce-note-blocklist: true | |
concurrency-group: non-cran | |
unit-test-report-directory: unit-test-report-non-cran | |
note-blocklist: | | |
checking dependencies in R code .* NOTE | |
checking R code for possible problems .* NOTE | |
checking examples .* NOTE | |
checking Rd line widths .* NOTE | |
checking S3 generic/method consistency .* NOTE | |
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/roxy.shinylive | |
insightsengineering/teal | |
insightsengineering/teal.transform | |
insightsengineering/teal.code | |
insightsengineering/teal.data | |
insightsengineering/teal.logger | |
insightsengineering/teal.reporter | |
insightsengineering/teal.widgets | |
insightsengineering/teal.slice | |
insightsengineering/tern | |
insightsengineering/formatters | |
insightsengineering/rtables | |
insightsengineering/rtables.officer | |
insightsengineering/nestcolor | |
coverage: | |
name: Coverage π | |
uses: insightsengineering/r.pkg.template/.github/workflows/test-coverage.yaml@main | |
secrets: | |
REPO_GITHUB_TOKEN: ${{ secrets.REPO_GITHUB_TOKEN }} | |
with: | |
additional-env-vars: | | |
NOT_CRAN=true | |
deps-installation-method: setup-r-dependencies | |
lookup-refs: | | |
insightsengineering/roxy.shinylive | |
insightsengineering/teal | |
insightsengineering/teal.transform | |
insightsengineering/teal.code | |
insightsengineering/teal.data | |
insightsengineering/teal.logger | |
insightsengineering/teal.reporter | |
insightsengineering/teal.widgets | |
insightsengineering/teal.slice | |
insightsengineering/tern | |
insightsengineering/formatters | |
insightsengineering/rtables | |
insightsengineering/rtables.officer | |
insightsengineering/nestcolor | |
linter: | |
if: github.event_name != 'push' | |
name: SuperLinter π¦ΈββοΈ | |
uses: insightsengineering/r.pkg.template/.github/workflows/linter.yaml@main | |
roxygen: | |
name: Roxygen π Ύ | |
uses: insightsengineering/r.pkg.template/.github/workflows/roxygen.yaml@main | |
secrets: | |
REPO_GITHUB_TOKEN: ${{ secrets.REPO_GITHUB_TOKEN }} | |
with: | |
auto-update: true | |
deps-installation-method: setup-r-dependencies | |
lookup-refs: | | |
insightsengineering/roxy.shinylive | |
insightsengineering/teal | |
insightsengineering/teal.transform | |
insightsengineering/teal.code | |
insightsengineering/teal.data | |
insightsengineering/teal.logger | |
insightsengineering/teal.reporter | |
insightsengineering/teal.widgets | |
insightsengineering/teal.slice | |
insightsengineering/tern | |
insightsengineering/formatters | |
insightsengineering/rtables | |
insightsengineering/rtables.officer | |
insightsengineering/nestcolor | |
gitleaks: | |
name: gitleaks π§ | |
uses: insightsengineering/r.pkg.template/.github/workflows/gitleaks.yaml@main | |
spelling: | |
name: Spell Check π | |
uses: insightsengineering/r.pkg.template/.github/workflows/spelling.yaml@main | |
secrets: | |
REPO_GITHUB_TOKEN: ${{ secrets.REPO_GITHUB_TOKEN }} | |
links: | |
if: github.event_name != 'push' | |
name: Check URLs π | |
uses: insightsengineering/r.pkg.template/.github/workflows/links.yaml@main | |
vbump: | |
name: Version Bump π€π€ | |
if: github.event_name == 'push' | |
uses: insightsengineering/r.pkg.template/.github/workflows/version-bump.yaml@main | |
secrets: | |
REPO_GITHUB_TOKEN: ${{ secrets.REPO_GITHUB_TOKEN }} | |
version: | |
name: Version Check π | |
uses: insightsengineering/r.pkg.template/.github/workflows/version.yaml@main | |
licenses: | |
name: License Check π | |
uses: insightsengineering/r.pkg.template/.github/workflows/licenses.yaml@main | |
style: | |
if: github.event_name != 'push' | |
name: Style Check π | |
uses: insightsengineering/r.pkg.template/.github/workflows/style.yaml@main | |
with: | |
auto-update: true | |
secrets: | |
REPO_GITHUB_TOKEN: ${{ secrets.REPO_GITHUB_TOKEN }} | |
grammar: | |
if: github.event_name != 'push' | |
name: Grammar Check π€ | |
uses: insightsengineering/r.pkg.template/.github/workflows/grammar.yaml@main |