Skip to content

add async eg to mocking man file and mention async support on it #61

add async eg to mocking man file and mention async support on it

add async eg to mocking man file and mention async support on it #61

Workflow file for this run

on: push
name: revdep
jobs:
revdep:
runs-on: ${{ matrix.config.os }}
if: startsWith(github.event.head_commit.message, 'REVDEPCHECK')
name: ${{ matrix.config.os }} (${{ matrix.config.r }})
strategy:
fail-fast: false
matrix:
config:
- { os: ubuntu-latest, r: 'release'}
env:
R_REMOTES_NO_ERRORS_FROM_WARNINGS: true
CRAN: ${{ matrix.config.cran }}
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v3
- uses: r-lib/actions/setup-r@v2
with:
r-version: ${{ matrix.config.r }}
- uses: r-lib/actions/setup-pandoc@v2
- name: Cache R packages
uses: actions/cache@v3
with:
path: ${{ env.R_LIBS_USER }}
key: ${{ runner.os }}-r-${{ matrix.config.r }}-${{ hashFiles('DESCRIPTION') }}
- uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: any::rcmdcheck
needs: check
- name: Install pak
run: |
install.packages("pak", repos = "https://r-lib.github.io/p/pak/dev/")
shell: Rscript {0}
- name: Install dependencies
run: |
pak::pkg_install('r-lib/revdepcheck')
shell: Rscript {0}
- name: Revdepcheck
run: |
revdepcheck::revdep_reset()
revdepcheck::revdep_check(num_workers=8)
shell: Rscript {0}
- name: Upload revdepcheck results
uses: actions/upload-artifact@v3
with:
name: ${{ runner.os }}-r${{ matrix.config.r }}-results
path: revdep/*.md