Skip to content

Merge branch 'master' into develop #132

Merge branch 'master' into develop

Merge branch 'master' into develop #132

Workflow file for this run

on:
push:
pull_request:
schedule:
- cron: "0 0 13 * *"
name: R-CMD-check
jobs:
R-CMD-check:
runs-on: ubuntu-latest
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v2
- uses: r-lib/actions/setup-r@v2
- uses: r-lib/actions/setup-pandoc@v1
- name: Install libcurl4-openssl-dev
run: sudo apt install -qq libcurl4-openssl-dev
- name: Install libharfbuzz-dev libfribidi-dev
run: sudo apt install -qq libharfbuzz-dev libfribidi-dev
- name: Fix 'use_2to3 is invalid', from https://stackoverflow.com/a/73971964
run: pip install --upgrade pip setuptools==57.5.0
- name: Install dependencies
run: |
install.packages(c("remotes", "rcmdcheck", "devtools"))
remotes::install_github("richelbilderbeek/plinkr")
install.packages("semver")
remotes::install_github("richelbilderbeek/ormr")
remotes::install_deps(dependencies = TRUE)
remotes::install_cran("rcmdcheck")
remotes::install_cran("covr")
remotes::install_cran("lintr")
remotes::install_github("MangoTheCat/goodpractice")
shell: Rscript {0}
- name: Check
run: rcmdcheck::rcmdcheck(args = "--no-manual", error_on = "error")
shell: Rscript {0}
- name: Test coverage
run: covr::codecov()
shell: Rscript {0}
- name: Lint
run: lintr::lint_package()
shell: Rscript {0}