Skip to content

Commit 209016f

Browse files
committed
migrate from travis to github actions
1 parent a48f4bf commit 209016f

File tree

7 files changed

+36
-7
lines changed

7 files changed

+36
-7
lines changed

.Rbuildignore

+1
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@
33
^README\.Rmd$
44
^README-.*\.png$
55
^\.travis\.yml$
6+
^\.github$

.github/.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
*.html

.github/workflows/R-CMD-check.yaml

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# For help debugging build failures open an issue on the RStudio community with the 'github-actions' tag.
2+
# https://community.rstudio.com/new-topic?category=Package%20development&tags=github-actions
3+
on:
4+
push:
5+
branches:
6+
- main
7+
- master
8+
pull_request:
9+
branches:
10+
- main
11+
- master
12+
13+
name: R-CMD-check
14+
15+
jobs:
16+
R-CMD-check:
17+
runs-on: macOS-latest
18+
env:
19+
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
20+
steps:
21+
- uses: actions/checkout@v2
22+
- uses: r-lib/actions/setup-r@v1
23+
- name: Install dependencies
24+
run: |
25+
install.packages(c("remotes", "rcmdcheck"))
26+
remotes::install_deps(dependencies = TRUE)
27+
shell: Rscript {0}
28+
- name: Check
29+
run: rcmdcheck::rcmdcheck(args = "--no-manual", error_on = "error")
30+
shell: Rscript {0}

.travis.yml

-3
This file was deleted.

DESCRIPTION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Package: premiumPlots
22
Type: Package
33
Title: Plot PReMiuM results and diagnostics
4-
Version: 1.1.1
4+
Version: 1.2.0
55
Authors@R: person("Simon", "Schoenbuchner",
66
email = "[email protected]",
77
role = c("aut", "cre"),

README.Rmd

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ knitr::opts_chunk$set(
1414

1515
# premiumPlots
1616

17-
[![Build Status](https://travis-ci.com/simisc/premiumPlots.svg?branch=master)](https://travis-ci.com/simisc/premiumPlots)
17+
[![R build status](https://github.com/simisc/premiumPlots/workflows/R-CMD-check/badge.svg)](https://github.com/simisc/premiumPlots/actions)
1818
[![DOI](https://zenodo.org/badge/120929260.svg)](https://zenodo.org/badge/latestdoi/120929260)
1919
[![Licence](https://img.shields.io/github/license/simisc/premiumPlots)](https://github.com/simisc/premiumPlots/blob/master/LICENSE)
2020
[![Lifecycle](https://img.shields.io/badge/lifecycle-dormant-blue.svg)](https://www.tidyverse.org/lifecycle/#dormant)

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33

44
# premiumPlots
55

6-
[![Build
7-
Status](https://travis-ci.com/simisc/premiumPlots.svg?branch=master)](https://travis-ci.com/simisc/premiumPlots)
6+
[![R build
7+
status](https://github.com/simisc/premiumPlots/workflows/R-CMD-check/badge.svg)](https://github.com/simisc/premiumPlots/actions)
88
[![DOI](https://zenodo.org/badge/120929260.svg)](https://zenodo.org/badge/latestdoi/120929260)
99
[![Licence](https://img.shields.io/github/license/simisc/premiumPlots)](https://github.com/simisc/premiumPlots/blob/master/LICENSE)
1010
[![Lifecycle](https://img.shields.io/badge/lifecycle-dormant-blue.svg)](https://www.tidyverse.org/lifecycle/#dormant)

0 commit comments

Comments
 (0)