Skip to content

Fix plotting tests in python covidcast #375

Fix plotting tests in python covidcast

Fix plotting tests in python covidcast #375

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_evalcast
on:
push:
branches: [ main, evalcast ]
pull_request:
branches: [ main, evalcast ]
jobs:
build:
runs-on: ubuntu-latest
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
defaults:
run:
working-directory: R-packages/evalcast/
strategy:
matrix:
r-version: [4.1]
steps:
- uses: actions/checkout@v2
- name: Set up R ${{ matrix.r-version }}
uses: r-lib/actions/setup-r@v2
with:
r-version: ${{ matrix.r-version }}
- name: Install linux dependencies
run: |
sudo apt-get install libcurl4-openssl-dev
sudo apt-get install libudunits2-dev
sudo apt-get install libgdal-dev
sudo apt-get install libicu-dev
- name: Cache R packages
uses: actions/cache@v2
with:
path: ${{ env.R_LIBS_USER }}
key: ${{ runner.os }}-r-eval-1-
- name: Install dependencies
run: |
install.packages(c("remotes", "rcmdcheck"))
remotes::install_deps(dependencies = TRUE)
shell: Rscript {0}
- name: Check
run: |
rcmdcheck::rcmdcheck(args = c("--no-manual", "--ignore-vignettes", "--as-cran"), build_args = c("--no-build-vignettes"), error_on = "error")
shell: Rscript {0}