Skip to content

fixed url

fixed url #71

# Workflow derived from https://github.com/r-lib/actions/tree/master/examples
on:
push:
branches: [main, master]
pull_request:
branches: [main, master]
name: R-CMD-check
jobs:
R-CMD-check:
runs-on: ubuntu-latest
env:
# use GITHUB_TOKEN from GitHub to workaround rate limits in {remotes}
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
# This ensures that errors get srcrefs
R_KEEP_PKG_SOURCE: yes
steps:
- uses: actions/checkout@v4
- uses: r-lib/actions/setup-r@v2
with:
# Use the public version of RStudio package manager to serve binaries for Linux and Windows
use-public-rspm: true
- uses: r-lib/actions/setup-pandoc@v2
- uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: |
any::rcmdcheck
any::covr
- uses: r-lib/actions/check-r-package@v2
- name: Test coverage
run: covr::codecov()
shell: Rscript {0}