You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
924 B
34 lines
924 B
# For help debugging build failures open an issue on the RStudio community with the 'github-actions' tag.
|
|
# https://community.rstudio.com/new-topic?category=Package%20development&tags=github-actions
|
|
on:
|
|
push:
|
|
branches:
|
|
- batman
|
|
pull_request:
|
|
branches:
|
|
- batman
|
|
|
|
name: R-CMD-check
|
|
|
|
jobs:
|
|
R-CMD-check:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout repo
|
|
uses: actions/checkout@v2
|
|
|
|
- name: Setup R
|
|
uses: r-lib/actions/setup-r@v1
|
|
|
|
- name: Install tshark
|
|
run: sudo apt install -y libcurl4-openssl-dev libgmp-dev libxml2-dev libglpk-dev tshark
|
|
|
|
- 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}
|
|
|