Skip to content

edit R file

edit R file #4

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: R
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: Ubuntu-latest
strategy:
matrix:
r-version: [3.5, 3.6, 4.1.0]
steps:
- uses: actions/checkout@v2
- name: Set up R ${{ matrix.r-version }}
uses: r-lib/actions/setup-r@38236f0b8b512ff5386932ae400548ce3a6ef27f
with:
r-version: ${{ matrix.r-version }}
- name: Installing curl
run: sudo apt install -y libcurl4-openssl-dev
- name: Install dependencies
run: |
install.packages(c("remotes", "rcmdcheck"))
remotes::install_deps(dependencies = TRUE)
shell: Rscript {0}
- name: Check
run: rcmdcheck::rcmdcheck(args = "--no-manual", error_on = "error")
shell: Rscript {0}