From 75a9548e26b20f68c8d5e4e3440c3a404356c1c2 Mon Sep 17 00:00:00 2001 From: saiemgilani Date: Tue, 3 Sep 2024 01:24:21 -0400 Subject: [PATCH] cran_checks gha for CRAN checks added --- .github/workflows/cran-checks.yaml | 42 ++++++++++++++++++++++++++++++ sportsdataverse-data.Rproj | 2 ++ 2 files changed, 44 insertions(+) create mode 100644 .github/workflows/cran-checks.yaml diff --git a/.github/workflows/cran-checks.yaml b/.github/workflows/cran-checks.yaml new file mode 100644 index 0000000..1d58af7 --- /dev/null +++ b/.github/workflows/cran-checks.yaml @@ -0,0 +1,42 @@ +name: Check CRAN status + +on: + schedule: + # Runs daily at 4:00 PM UTC (9:00 AM PST) + - cron: '0 16 * * *' + # allows for manually running of the check + workflow_dispatch: + +jobs: + check_cran_status: + runs-on: ubuntu-latest + + steps: + - name: Get CRAN checks - hoopR + uses: flrsh-dev/cran-checks/check-pkg@main + with: + pkg: hoopR + - name: Get CRAN checks - wehoop + uses: flrsh-dev/cran-checks/check-pkg@main + with: + pkg: wehoop + - name: Get CRAN checks - fastRhockey + uses: flrsh-dev/cran-checks/check-pkg@main + with: + pkg: fastRhockey + - name: Get CRAN checks - baseballr + uses: flrsh-dev/cran-checks/check-pkg@main + with: + pkg: baseballr + - name: Get CRAN checks - worldfootballR + uses: flrsh-dev/cran-checks/check-pkg@main + with: + pkg: worldfootballR + - name: Get CRAN checks - sportyR + uses: flrsh-dev/cran-checks/check-pkg@main + with: + pkg: sportyR + - name: Get CRAN checks - oddsapiR + uses: flrsh-dev/cran-checks/check-pkg@main + with: + pkg: oddsapiR \ No newline at end of file diff --git a/sportsdataverse-data.Rproj b/sportsdataverse-data.Rproj index eaa6b81..1440aa0 100755 --- a/sportsdataverse-data.Rproj +++ b/sportsdataverse-data.Rproj @@ -12,6 +12,8 @@ Encoding: UTF-8 RnwWeave: Sweave LaTeX: pdfLaTeX +StripTrailingWhitespace: Yes + BuildType: Package PackageUseDevtools: Yes PackageInstallArgs: --no-multiarch --with-keep.source