Skip to content

Commit 79e6fd9

Browse files
committed
added r-cmd badge
1 parent 20cd64f commit 79e6fd9

3 files changed

Lines changed: 29 additions & 0 deletions

File tree

.github/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
*.html

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

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
on:
2+
push:
3+
branches:
4+
- master
5+
pull_request:
6+
branches:
7+
- master
8+
9+
name: R-CMD-check
10+
11+
jobs:
12+
R-CMD-check:
13+
runs-on: macOS-latest
14+
steps:
15+
- uses: actions/checkout@v2
16+
- uses: r-lib/actions/setup-r@master
17+
- name: Install dependencies
18+
run: |
19+
install.packages(c("remotes", "rcmdcheck"))
20+
remotes::install_deps(dependencies = TRUE)
21+
shell: Rscript {0}
22+
- name: Check
23+
run: rcmdcheck::rcmdcheck(args = "--no-manual", error_on = "error")
24+
shell: Rscript {0}

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
<!-- README.md is generated from README.Rmd. Please edit that file -->
2+
<!-- badges: start -->
3+
[![R build status](https://github.com/lsteinmann/datplot/workflows/R-CMD-check/badge.svg)](https://github.com/lsteinmann/datplot/actions)
4+
<!-- badges: end -->
5+
26
datplot
37
=======
48

0 commit comments

Comments
 (0)