Skip to content

R-CMD-check

R-CMD-check #581

Workflow file for this run

# Workflow derived from https://github.com/r-lib/actions/tree/v2/examples
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help
on:
pull_request:
branches: [ master ]
workflow_dispatch:
name: R-CMD-check
jobs:
R-CMD-check:
runs-on: ${{ matrix.config.os }}
name: ${{ matrix.config.os }} (${{ matrix.config.r }})
strategy:
fail-fast: false
matrix:
config:
- {os: windows-latest, r: 'release'}
env:
R_REMOTES_NO_ERRORS_FROM_WARNINGS: true
_R_CHECK_FORCE_SUGGESTS_: false
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
RGL_USE_NULL: true
R_KEEP_PKG_SOURCE: yes
steps:
- uses: actions/checkout@v4
- uses: r-lib/actions/setup-r@v2
with:
r-version: ${{ matrix.config.r }}
http-user-agent: ${{ matrix.config.http-user-agent }}
use-public-rspm: true
- uses: r-lib/actions/setup-tinytex@v2
env:
# install full prebuilt version
TINYTEX_INSTALLER: TinyTeX
- name: Run script
shell: cmd
run: |
cd /d "C:\Users\RUNNER~1\AppData\Local\Temp"
mkdir testdir
echo "\documentclass{article}" >testdir\testfile1.tex
echo "\begin{document}" >>testdir\testfile1.tex
echo "text" >>testdir\testfile1.tex
echo "\end{document}" >>testdir\testfile1.tex
copy testdir\testfile1.tex testdir\test~file.tex
xelatex "C:\Users\RUNNER~1\AppData\Local\Temp\testdir\testfile1.tex"
xelatex "C:\Users\RUNNER~1\AppData\Local\Temp\testdir\test~file.tex"