Skip to content

Commit

Permalink
fix GHA
Browse files Browse the repository at this point in the history
  • Loading branch information
CeresBarros committed Aug 17, 2023
1 parent f4f2402 commit 649f749
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 12 deletions.
19 changes: 10 additions & 9 deletions .github/workflows/render-bookdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ jobs:
- {os: windows-latest, nosuggests: false, r: 'devel'}
- {os: windows-latest, nosuggests: false, r: 'release'}
- {os: windows-latest, nosuggests: false, r: 'oldrel'}
- {os: windows-latest, nosuggests: false, r: '4.1'}
- {os: ubuntu-20.04, nosuggests: false, r: 'devel'}
- {os: ubuntu-20.04, nosuggests: false, r: 'release'}
- {os: ubuntu-20.04, nosuggests: true, r: 'release'}
Expand All @@ -50,7 +49,14 @@ jobs:
r-version: ${{ matrix.config.r }}
use-public-rspm: false

- uses: r-lib/actions/setup-r-dependencies@v2
- name: Install TinyTeX
uses: r-lib/actions/setup-tinytex@v2
env:
# install full prebuilt version
TINYTEX_INSTALLER: TinyTeX

- name: Install package dependencies
uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: |
any::rcmdcheck
Expand All @@ -60,14 +66,9 @@ jobs:
tinytex
fastshp=?ignore
NLMR=?ignore
- name: Install additional package dependencies
run: |
tinytex::install_tinytex()
shell: Rscript {0}

- name: Render Bookdown
run: |
source(".github/workflows/render", echo = TRUE)
source(".github/workflows/render.R", echo = TRUE)
shell: Rscript {0}

3 changes: 0 additions & 3 deletions .github/workflows/tutorial-checkyml.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ jobs:
- {os: windows-latest, nosuggests: false, r: 'devel'}
- {os: windows-latest, nosuggests: false, r: 'release'}
- {os: windows-latest, nosuggests: false, r: 'oldrel'}
- {os: windows-latest, nosuggests: false, r: '4.1'}
- {os: ubuntu-20.04, nosuggests: false, r: 'devel'}
- {os: ubuntu-20.04, nosuggests: false, r: 'release'}
- {os: ubuntu-20.04, nosuggests: true, r: 'release'}
Expand All @@ -50,8 +49,6 @@ jobs:
r-version: ${{ matrix.config.r }}
use-public-rspm: false

- uses: r-lib/actions/setup-r-dependencies@v2

- name: Run tutorials - Part 1
run: |
source("Part1_DummyModel_test.R", echo = TRUE)
Expand Down

0 comments on commit 649f749

Please sign in to comment.