add initial R CMD check CI
This commit is contained in:
parent
1c29c8dd09
commit
adef247c2a
@ -2,3 +2,4 @@
|
||||
^README\.Rmd$
|
||||
^Makefile$
|
||||
node_modules
|
||||
^\.github$
|
||||
|
||||
1
.github/.gitignore
vendored
Normal file
1
.github/.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
*.html
|
||||
29
.github/workflows/R-CMD-check.yaml
vendored
Normal file
29
.github/workflows/R-CMD-check.yaml
vendored
Normal file
@ -0,0 +1,29 @@
|
||||
# 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, pull_request]
|
||||
name: R-CMD-check.yaml
|
||||
|
||||
permissions: read-all
|
||||
|
||||
jobs:
|
||||
R-CMD-check:
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
|
||||
R_KEEP_PKG_SOURCE: yes
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- uses: r-lib/actions/setup-r@v2
|
||||
with:
|
||||
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
|
||||
build_args: 'c("--no-manual","--compact-vignettes=gs+qpdf")'
|
||||
@ -16,6 +16,7 @@ knitr::opts_chunk$set(
|
||||
# ts
|
||||
|
||||
<!-- badges: start -->
|
||||
[](https://github.com/tmelliott/ts/actions/workflows/R-CMD-check.yaml)
|
||||
<!-- badges: end -->
|
||||
|
||||
The **ts** package makes it easy for users to write functions that can be used in [**rserve-ts**](https://www.npmjs.com/package/rserve-ts) applications.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user