Skip to content

improve unit test coverage (#55) #113

improve unit test coverage (#55)

improve unit test coverage (#55) #113

Workflow file for this run

# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
#
# See https://github.com/r-lib/actions/tree/master/examples#readme for
# additional example workflows available for the R community.
name: Run R CMD Check
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
workflow_dispatch:
permissions:
contents: read
jobs:
rcmdcheck:
runs-on: ubuntu-latest
strategy:
matrix:
r-version: ['release']
steps:
- uses: actions/checkout@v3
- name: Install system dependencies for devtools
run: |
sudo apt-get update -y
sudo apt-get install -y libcurl4-openssl-dev libssl-dev libxml2-dev
- name: Set up R ${{ matrix.r-version }}
uses: r-lib/actions/setup-r@v2
with:
r-version: ${{ matrix.r-version }}
use-public-rspm: true
- name: Install dependencies
run: |
install.packages("devtools")
shell: Rscript {0}
- name: Check
run: devtools::check()
shell: Rscript {0}