Skip to content

Commit

Permalink
Merge pull request #136 from kadyb/main
Browse files Browse the repository at this point in the history
Create new rcmdcheck workflow
  • Loading branch information
edzer authored Feb 21, 2024
2 parents 1597d12 + f28cc89 commit 0ed1d68
Show file tree
Hide file tree
Showing 5 changed files with 54 additions and 178 deletions.
53 changes: 53 additions & 0 deletions .github/workflows/rcmdcheck.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
# Workflow derived from https://github.com/r-lib/actions/tree/v2/examples
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help
on:
push:
branches: [main, master]
pull_request:
branches: [main, master]

name: rcmdcheck

jobs:
R-CMD-check:
runs-on: ${{ matrix.config.os }}

name: ${{ matrix.config.os }} (${{ matrix.config.r }})

strategy:
fail-fast: false
matrix:
config:
- {os: macos-latest, r: 'release'}
- {os: windows-latest, r: 'release'}
- {os: ubuntu-latest, r: 'devel', http-user-agent: 'release'}
- {os: ubuntu-latest, r: 'release'}

env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
R_KEEP_PKG_SOURCE: yes

steps:
- uses: actions/checkout@v4

- uses: r-lib/actions/setup-tinytex@v2

- name: Install additional LaTeX packages
run: tlmgr install grfext multirow caption setspace

- uses: r-lib/actions/setup-pandoc@v2

- uses: r-lib/actions/setup-r@v2
with:
r-version: ${{ matrix.config.r }}
http-user-agent: ${{ matrix.config.http-user-agent }}
use-public-rspm: true

- uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: any::rcmdcheck
needs: check

- uses: r-lib/actions/check-r-package@v2
with:
upload-snapshots: true
145 changes: 0 additions & 145 deletions .github/workflows/tic.yml

This file was deleted.

24 changes: 0 additions & 24 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
gstat
=====
<!-- badges: start -->
[![R-CMD-check](https://github.com/r-spatial/gstat/workflows/tic/badge.svg)](https://github.com/r-spatial/gstat/actions)
[![R-CMD-check](https://github.com/r-spatial/gstat/workflows/rcmdcheck.yml/badge.svg)](https://github.com/r-spatial/gstat/actions/workflows/rcmdcheck.yml)
[![AppVeyor Build Status](https://ci.appveyor.com/api/projects/status/github/r-spatial/gstat?branch=master&svg=true)](https://ci.appveyor.com/project/edzerpebesma/gstat)
[![License](http://img.shields.io/badge/license-GPL%20%28%3E=%202%29-brightgreen.svg?style=flat)](http://www.gnu.org/licenses/gpl-2.0.html)
[![CRAN](http://www.r-pkg.org/badges/version/gstat)](https://cran.r-project.org/package=gstat)
Expand Down
8 changes: 0 additions & 8 deletions tic.R

This file was deleted.

0 comments on commit 0ed1d68

Please sign in to comment.