Skip to content

Commit

Permalink
W2
Browse files Browse the repository at this point in the history
  • Loading branch information
dereckmezquita committed Aug 26, 2024
1 parent 4e332cd commit e88cef1
Showing 1 changed file with 14 additions and 9 deletions.
23 changes: 14 additions & 9 deletions .github/workflows/R-CMD-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,15 +49,20 @@ jobs:

- name: Add TinyTeX to PATH (Windows)
if: runner.os == 'Windows'
run: |
echo "C:\\Users\\runneradmin\\AppData\\Roaming\\TinyTeX\\bin\\win32" >> $GITHUB_PATH
echo "TinyTeX path added to PATH"
- name: Verify pdflatex installation
if: runner.os == 'Windows'
run: pdflatex --version
shell: bash
run: echo "C:\\Users\\runneradmin\\AppData\\Roaming\\TinyTeX\\bin\\win32" >> $GITHUB_PATH

- name: Install system dependencies (Linux)
if: runner.os == 'Linux'
run: |
sudo apt-get update
sudo apt-get install -y texlive-latex-base texlive-latex-recommended texlive-fonts-recommended texlive-fonts-extra
- name: Install system dependencies (macOS)
if: runner.os == 'macOS'
run: |
brew install --cask basictex
sudo /Library/TeX/texbin/tlmgr update --self
sudo /Library/TeX/texbin/tlmgr install inconsolata
echo "/Library/TeX/texbin" >> $GITHUB_PATH
- uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: any::rcmdcheck
Expand All @@ -66,7 +71,7 @@ jobs:
- uses: r-lib/actions/check-r-package@v2
with:
upload-snapshots: true
args: '--as-cran'
args: c('--as-cran')

- name: Show testthat output
if: always()
Expand Down

0 comments on commit e88cef1

Please sign in to comment.