Skip to content

Commit

Permalink
Merge branch 'main' into 518-pkgs_imports@main
Browse files Browse the repository at this point in the history
* main: (42 commits)
  [skip actions] Bump version to 0.3.0.9061
  Stop R process if AppDriver fails in `test-examples` (#820)
  [skip actions] Bump version to 0.3.0.9060
  87 remove datasets - decrease package size (#818)
  [skip actions] Bump version to 0.3.0.9059
  Fix documentation note about links on r-devel (#817)
  [skip actions] Bump version to 0.3.0.9058
  get back staged deps config (#816)
  [skip actions] Bump version to 0.3.0.9057
  add setup-r-dependencies (#815)
  [skip actions] Bump version to 0.3.0.9056
  Teal version bump (#814)
  [skip actions] Bump version to 0.3.0.9055
  🗃️ `decorators` feature branch (#795)
  [skip actions] Bump version to 0.3.0.9054
  `teal.data::datanames()` is deprecated in favor of dot-prefix and `names()` (#794)
  [skip actions] Bump version to 0.3.0.9053
  Adds `roxy.shinylive` to pre-commit configuration (#793)
  [skip actions] Bump version to 0.3.0.9052
  add rmarkdown to VignetteBuilder (#792)
  ...
  • Loading branch information
averissimo committed Dec 18, 2024
2 parents 4590f44 + 9d193d3 commit 8484c82
Show file tree
Hide file tree
Showing 84 changed files with 3,023 additions and 1,573 deletions.
73 changes: 69 additions & 4 deletions .github/workflows/check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,22 @@ 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/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
Expand All @@ -51,12 +67,10 @@ jobs:
additional-env-vars: |
_R_CHECK_EXAMPLE_TIMING_THRESHOLD_=11
TESTING_DEPTH=5
NOT_CRAN=true
enforce-note-blocklist: true
publish-unit-test-report-gh-pages: false
junit-xml-comparison: false
concurrency-group: non-cran
disable-unit-test-reports: true
skip-r-cmd-install: true
unit-test-report-directory: unit-test-report-non-cran
note-blocklist: |
checking dependencies in R code .* NOTE
checking R code for possible problems .* NOTE
Expand All @@ -66,11 +80,46 @@ 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/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 🦸‍♀️
Expand All @@ -82,6 +131,22 @@ jobs:
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
Expand Down
17 changes: 17 additions & 0 deletions .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,20 @@ jobs:
REPO_GITHUB_TOKEN: ${{ secrets.REPO_GITHUB_TOKEN }}
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/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
12 changes: 0 additions & 12 deletions .github/workflows/on-demand.yaml

This file was deleted.

69 changes: 69 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,43 @@ 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/teal.code
insightsengineering/teal.data
insightsengineering/teal.logger
insightsengineering/teal.reporter
insightsengineering/teal.widgets
insightsengineering/tern
insightsengineering/nestcolor
insightsengineering/roxy.shinylive
insightsengineering/formatters
insightsengineering/rtables
insightsengineering/rtables.officer
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/teal.code
insightsengineering/teal.data
insightsengineering/teal.logger
insightsengineering/teal.reporter
insightsengineering/teal.widgets
insightsengineering/tern
insightsengineering/nestcolor
insightsengineering/roxy.shinylive
insightsengineering/formatters
insightsengineering/rtables
insightsengineering/rtables.officer
release:
name: Create release 🎉
uses: insightsengineering/r.pkg.template/.github/workflows/release.yaml@main
Expand All @@ -46,9 +77,47 @@ 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/roxy.shinylive
insightsengineering/teal
insightsengineering/teal.transform
insightsengineering/teal.code
insightsengineering/teal.data
insightsengineering/teal.logger
insightsengineering/teal.reporter
insightsengineering/teal.widgets
insightsengineering/tern
insightsengineering/formatters
insightsengineering/rtables
insightsengineering/rtables.officer
insightsengineering/nestcolor
coverage:
name: Coverage 📔
needs: [release, docs]
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
wasm:
name: Build WASM packages 🧑‍🏭
needs: release
uses: insightsengineering/r.pkg.template/.github/workflows/wasm.yaml@main
72 changes: 71 additions & 1 deletion .github/workflows/scheduled.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,28 @@ name: Scheduled 🕰️

on:
schedule:
- cron: '45 3 * * 0'
- cron: "45 3 * * 0"
workflow_dispatch:
inputs:
chosen-workflow:
description: |
Select which workflow you'd like to run
required: true
type: choice
default: rhub
options:
- rhub
- dependency-test
- branch-cleanup
- revdepcheck

jobs:
dependency-test:
if: >
github.event_name == 'schedule' || (
github.event_name == 'workflow_dispatch' &&
inputs.chosen-workflow == 'dependency-test'
)
strategy:
fail-fast: false
matrix:
Expand All @@ -22,7 +39,60 @@ jobs:
additional-env-vars: |
PKG_SYSREQS_DRY_RUN=true
branch-cleanup:
if: >
github.event_name == 'schedule' || (
github.event_name == 'workflow_dispatch' &&
inputs.chosen-workflow == 'branch-cleanup'
)
name: Branch Cleanup 🧹
uses: insightsengineering/r.pkg.template/.github/workflows/branch-cleanup.yaml@main
secrets:
REPO_GITHUB_TOKEN: ${{ secrets.REPO_GITHUB_TOKEN }}
revdepcheck:
if: >
github.event_name == 'schedule' || (
github.event_name == 'workflow_dispatch' &&
inputs.chosen-workflow == 'revdepcheck'
)
name: revdepcheck ↩️
uses: insightsengineering/r.pkg.template/.github/workflows/revdepcheck.yaml@main
with:
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
rhub:
if: >
github.event_name == 'schedule' || (
github.event_name == 'workflow_dispatch' &&
inputs.chosen-workflow == 'rhub'
)
name: R-hub 🌐
uses: insightsengineering/r.pkg.template/.github/workflows/rhub.yaml@main
with:
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
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,5 @@ vignettes/*.R
coverage.*
tests/testthat/_snaps/**/*.new.md
tests/testthat/_snaps/**/*.new.svg
/doc/
/Meta/
9 changes: 5 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
---
# All available hooks: https://pre-commit.com/hooks.html
# R specific hooks: https://github.com/lorenzwalthert/precommit
default_stages: [commit]
default_stages: [pre-commit]
default_language_version:
python: python3
repos:
- repo: https://github.com/lorenzwalthert/precommit
rev: v0.4.3
rev: v0.4.3.9003
hooks:
- id: style-files
name: Style code with `styler`
Expand All @@ -18,8 +18,6 @@ repos:
- ggmosaic
- ggplot2
- shiny
- teal
- teal.transform
- checkmate
- dplyr
- DT
Expand All @@ -33,6 +31,9 @@ repos:
- shinyWidgets
- stats
- stringr
- insightsengineering/roxy.shinylive
- insightsengineering/teal
- insightsengineering/teal.transform
- insightsengineering/teal.code
- insightsengineering/teal.data
- insightsengineering/teal.logger
Expand Down
Loading

0 comments on commit 8484c82

Please sign in to comment.