Skip to content

R-CMD-check

R-CMD-check #8

Workflow file for this run

# Workflow derived from https://github.com/r-lib/actions/tree/master/examples
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help
on:
workflow_dispatch:
push:
branches: [main, master]
pull_request:
branches: [main, master]
name: R-CMD-check
jobs:
R-CMD-check:
runs-on: ubuntu-latest
name: ${{ matrix.browser }} (${{ matrix.version }})
strategy:
fail-fast: false
matrix:
browser: [chrome, firefox]
version: [2.53.1, 3.141.59, latest]
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
R_KEEP_PKG_SOURCE: yes
services:
selenium:
image: selenium/standalone-${{ matrix.browser }}:${{ matrix.version }}
ports:
- 4444:4444
volumes:
- /dev/shm:/dev/shm
test-server:
image: juyeongkim/test-server
steps:
- uses: actions/checkout@v2
- uses: r-lib/actions/setup-r@v1
with:
use-public-rspm: true
- uses: r-lib/actions/setup-r-dependencies@v1
with:
extra-packages: rcmdcheck
- uses: r-lib/actions/check-r-package@v1
env:
SELENIUM_BROWSER: ${{ matrix.browser }}
TEST_SERVER: http://test-server:8080