From 0c8925c2a4782cdf500ab07d6fdd2edd8e959227 Mon Sep 17 00:00:00 2001 From: Dan Knight <56950335+dan-knight@users.noreply.github.com> Date: Wed, 8 Jan 2025 12:28:22 -0800 Subject: [PATCH 1/2] Set up r-lib R CMD check action --- .github/workflows/r-lib-check.yaml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .github/workflows/r-lib-check.yaml diff --git a/.github/workflows/r-lib-check.yaml b/.github/workflows/r-lib-check.yaml new file mode 100644 index 0000000..d19f63c --- /dev/null +++ b/.github/workflows/r-lib-check.yaml @@ -0,0 +1,16 @@ +--- +name: R-CMD-check (r-lib) +'on': + workflow_dispatch: + pull_request: + push: + branches: + - main + schedule: + - cron: '0 0 * * MON' +jobs: + R-CMD-check: + runs-on: ubuntu-latest + steps: + - uses: r-lib/actions/setup-tinytex@v2 + - uses: uclahs-cds/tool-R-CMD-check-action@main From ccb328bb29e6e522a9c5330c54a05aa172e43370 Mon Sep 17 00:00:00 2001 From: Dan Knight <56950335+dan-knight@users.noreply.github.com> Date: Wed, 8 Jan 2025 17:15:22 -0800 Subject: [PATCH 2/2] R-CMD-check workflow triggers --- .github/workflows/R-CMD-check.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/R-CMD-check.yaml b/.github/workflows/R-CMD-check.yaml index 99b8f41..74c0bc6 100644 --- a/.github/workflows/R-CMD-check.yaml +++ b/.github/workflows/R-CMD-check.yaml @@ -2,7 +2,9 @@ name: R-CMD-check on: + workflow_dispatch: pull_request: + push: branches: - main jobs: