Skip to content

Commit bbc6f26

Browse files
committed
Use GHA
1 parent 00a0408 commit bbc6f26

File tree

4 files changed

+35
-0
lines changed

4 files changed

+35
-0
lines changed

.Rbuildignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@
22
^\.Rproj\.user$
33
\.sublime-project$
44
\.sublime-workspace$
5+
^\.github$

.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: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# Workflow derived from https://github.com/r-lib/actions/tree/v2/examples
2+
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help
3+
on:
4+
push:
5+
branches: [main]
6+
pull_request:
7+
branches: [main]
8+
9+
name: R-CMD-check
10+
11+
jobs:
12+
R-CMD-check:
13+
runs-on: ubuntu-latest
14+
env:
15+
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
16+
R_KEEP_PKG_SOURCE: yes
17+
steps:
18+
- uses: actions/checkout@v3
19+
20+
- uses: r-lib/actions/setup-r@v2
21+
with:
22+
use-public-rspm: true
23+
24+
- uses: r-lib/actions/setup-r-dependencies@v2
25+
with:
26+
extra-packages: any::rcmdcheck
27+
needs: check
28+
29+
- uses: r-lib/actions/check-r-package@v2

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
<!-- badges: start -->
2+
[![R-CMD-check](https://github.com/wch/Rttf2pt1/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/wch/Rttf2pt1/actions/workflows/R-CMD-check.yaml)
3+
<!-- badges: end -->
4+
15
# Rttf2pt1
26

37
The Rttf2p1 package for R is meant to be used with the [extrafont](https://github.com/wch/extrafont) package.

0 commit comments

Comments
 (0)