From 3ccd4acb7ee81ebf83eaccae2875c07022782366 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Renzo=20C=C3=A1ceres=20Rossi?= Date: Tue, 10 Sep 2024 12:29:36 -0500 Subject: [PATCH] Update test.yml --- .github/workflows/test.yml | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index cecd07e..8013160 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,3 +1,7 @@ +name: R-CMD-check + +on: [push, pull_request] + jobs: R-CMD-check: runs-on: ${{ matrix.config.os }} @@ -15,11 +19,12 @@ jobs: with: use-public-rspm: true - - name: Install R package dependencies + - name: Install dependencies run: | Rscript -e 'install.packages("remotes")' Rscript -e 'remotes::install_deps(dependencies = TRUE)' - + - name: Check - run: R.exe CMD check . - shell: pwsh + run: | + R CMD build . + R CMD check --as-cran timeseriesdatasets_*.tar.gz