Skip to content

Commit 1ff51e4

Browse files
committed
migrate from Travis CI to Github Actions
1 parent 6fb4d35 commit 1ff51e4

File tree

7 files changed

+39
-10
lines changed

7 files changed

+39
-10
lines changed

.Rbuildignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44
^Meta$
55
^data-raw$
66
^README\.Rmd$
7-
^\.travis\.yml$
7+
^\.github$

.github/.gitignore

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

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

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
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: |
30+
options(crayon.enabled = TRUE)
31+
rcmdcheck::rcmdcheck(args = "--no-manual", error_on = "error")
32+
shell: Rscript {0}

.travis.yml

-4
This file was deleted.

DESCRIPTION

+2
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,5 @@ Suggests:
3333
testthat,
3434
ggplot2
3535
VignetteBuilder: knitr
36+
URL: https://github.com/mitsuoxv/tqr
37+
BugReports: https://github.com/mitsuoxv/tqr/issues

README.Rmd

+1-3
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,8 @@ editor_options:
1010
chunk_output_type: console
1111
---
1212

13-
<!-- README.md is generated from README.Rmd. Please edit that file -->
14-
1513
<!-- badges: start -->
16-
[![Travis build status](https://travis-ci.org/mitsuoxv/tqr.svg?branch=master)](https://travis-ci.org/mitsuoxv/tqr)
14+
[![R-CMD-check](https://github.com/mitsuoxv/tqr/workflows/R-CMD-check/badge.svg)](https://github.com/mitsuoxv/tqr/actions)
1715
<!-- badges: end -->
1816

1917
```{r, include = FALSE}

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,10 @@ Mitsuo Shiota
3131
package](#cal_factory_xts-function-factory-for-calculation-utilizing-xts-package)
3232

3333
<!-- README.md is generated from README.Rmd. Please edit that file -->
34+
3435
<!-- badges: start -->
3536

36-
[![Travis build
37-
status](https://travis-ci.org/mitsuoxv/tqr.svg?branch=master)](https://travis-ci.org/mitsuoxv/tqr)
37+
[![R-CMD-check](https://github.com/mitsuoxv/tqr/workflows/R-CMD-check/badge.svg)](https://github.com/mitsuoxv/tqr/actions)
3838
<!-- badges: end -->
3939

4040
Updated: 2021-03-21

0 commit comments

Comments
 (0)