Skip to content

isolate svg test to skip on cran due to potrace issues #176

isolate svg test to skip on cran due to potrace issues

isolate svg test to skip on cran due to potrace issues #176

Workflow file for this run

on: [push, pull_request]
name: R-win
jobs:
check:
runs-on: ${{ matrix.config.os }}
name: ${{ matrix.config.os }} (${{ matrix.config.r }})
if: "!contains(github.event.head_commit.message, 'skip winos')"
strategy:
fail-fast: false
matrix:
config:
- { os: windows-latest, r: 'release'}
env:
R_REMOTES_NO_ERRORS_FROM_WARNINGS: true
CRAN: ${{ matrix.config.cran }}
GITHUB_PAT: ${{secrets.GH_PAT}}
steps:
- uses: actions/checkout@v3
- uses: r-lib/actions/setup-tinytex@v2
if: contains(matrix.config.args, 'no-manual') == false
- uses: r-lib/actions/setup-pandoc@v2
- 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
- run: tlmgr --version
- run: pdflatex --version
- name: install tex libs
run: |
install.packages('tinytex')
tinytex::tlmgr_install(c('standalone', 'xcolor', 'booktabs', 'multirow', 'amsmath', 'listings', 'setspace', 'caption', 'graphics', 'tools', 'psnfss', 'varwidth', 'colortbl', 'epstopdf-pkg', 'pgf','makeindex'))
tinytex::tlmgr('init-usertree')
tinytex::tlmgr_install(c('koma-script', 'xcolor'), usermode = TRUE)
list.files(tinytex:::win_app_dir("TinyTeX/bin/windows"))
shell: Rscript {0}
- name: Query dependencies
run: |
install.packages(c('remotes','tinytex','digest','processx'))
saveRDS(remotes::dev_package_deps(dependencies = TRUE), "depends.Rds", version = 2)
shell: Rscript {0}
- uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: any::rcmdcheck
needs: check
- uses: r-lib/actions/check-r-package@v2
with:
upload-snapshots: true