Skip to content

Commit

Permalink
Update GitHub action yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
anhoej committed May 8, 2024
1 parent 5ac9724 commit 53fc5b9
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 41 deletions.
47 changes: 10 additions & 37 deletions .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Workflow derived from https://github.com/r-lib/actions/tree/master/examples
# 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:
Expand All @@ -10,50 +10,23 @@ name: R-CMD-check

jobs:
R-CMD-check:
runs-on: ${{ matrix.config.os }}

name: ${{ matrix.config.os }} (${{ matrix.config.r }})

strategy:
fail-fast: false
matrix:
config:
- {os: macOS-latest, r: 'release'}
- {os: windows-latest, r: 'release'}
- {os: ubuntu-latest, r: 'devel', http-user-agent: 'release'}
- {os: ubuntu-latest, r: 'release'}
- {os: ubuntu-latest, r: 'oldrel-1'}

runs-on: ubuntu-latest
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
R_KEEP_PKG_SOURCE: yes

steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4

- uses: r-lib/actions/setup-pandoc@v1

- uses: r-lib/actions/setup-r@v1
- uses: r-lib/actions/setup-r@v2
with:
r-version: ${{ matrix.config.r }}
http-user-agent: ${{ matrix.config.http-user-agent }}
use-public-rspm: true

- uses: r-lib/actions/setup-r-dependencies@v1
- uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: rcmdcheck

- uses: r-lib/actions/check-r-package@v1

- name: Show testthat output
if: always()
run: find check -name 'testthat.Rout*' -exec cat '{}' \; || true
shell: bash
extra-packages: any::rcmdcheck
needs: check

- name: Upload check results
if: failure()
uses: actions/upload-artifact@1
- uses: r-lib/actions/check-r-package@v2
with:
name: ${{ runner.os }}-r${{ matrix.config.r }}-results
path: check

upload-snapshots: true
build_args: 'c("--no-manual","--compact-vignettes=gs+qpdf")'
6 changes: 3 additions & 3 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: qicharts2
Title: Quality Improvement Charts
Version: 0.7.4
Date: 2023-08-21
Version: 0.7.4.9999
Date: 2024-05-08
Authors@R: person('Jacob', 'Anhoej', email = '[email protected]',
role = c('aut', 'cre'))
Description: Functions for making run charts, Shewhart control charts and
Expand All @@ -28,6 +28,6 @@ Suggests:
License: GPL-3
Encoding: UTF-8
LazyData: true
RoxygenNote: 7.2.3
RoxygenNote: 7.3.1
VignetteBuilder: knitr
URL: https://github.com/anhoej/qicharts2
4 changes: 4 additions & 0 deletions NEWS → NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
qicharts2 0.7.4.9999
===============


qicharts2 0.7.4
===============
* Fix \docType{package} error
Expand Down
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
[![R-CMD-check](https://github.com/anhoej/qicharts2/workflows/R-CMD-check/badge.svg)](https://github.com/anhoej/qicharts2/actions)
<!-- badges: start -->
[![R-CMD-check](https://github.com/anhoej/qicharts2/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/anhoej/qicharts2/actions/workflows/R-CMD-check.yaml)
[![CRAN_Status_Badge](https://www.r-pkg.org/badges/version/qicharts2)](https://cran.r-project.org/package=qicharts2)
[![DOI](https://zenodo.org/badge/96605963.svg)](https://zenodo.org/badge/latestdoi/96605963)
[![DOI](http://joss.theoj.org/papers/10.21105/joss.00699/status.svg)](https://doi.org/10.21105/joss.00699)
<!-- badges: end -->

# Quality improvement charts for R

Expand Down

0 comments on commit 53fc5b9

Please sign in to comment.