Skip to content

Commit

Permalink
Update test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
lightbluetitan authored Sep 10, 2024
1 parent 3ccd4ac commit 2638450
Showing 1 changed file with 11 additions and 15 deletions.
26 changes: 11 additions & 15 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,28 +3,24 @@ name: R-CMD-check
on: [push, pull_request]

jobs:
R-CMD-check:
runs-on: ${{ matrix.config.os }}
strategy:
matrix:
config:
- {os: windows-latest}
- {os: macOS-latest}
- {os: ubuntu-latest}
check:
name: R CMD check
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Checkout code
uses: actions/checkout@v3

- name: Set up R
uses: r-lib/actions/setup-r@v2
with:
use-public-rspm: true
r-version: '4.2' # Ajusta esto según la versión que necesites

- name: Install dependencies
run: |
Rscript -e 'install.packages("remotes")'
Rscript -e 'remotes::install_deps(dependencies = TRUE)'
install.packages('devtools')
devtools::install_deps()
- name: Check
run: |
R CMD build .
R CMD check --as-cran timeseriesdatasets_*.tar.gz
devtools::check()

0 comments on commit 2638450

Please sign in to comment.