From 746b0640ec690b5917a96de24ccae0ba81e217c3 Mon Sep 17 00:00:00 2001 From: masiraji Date: Tue, 30 Apr 2024 20:12:58 +0600 Subject: [PATCH] gh action updated --- .github/workflows/R-CMD-check.yaml | 30 +++++++++++------------------- DESCRIPTION | 2 +- README.md | 2 +- 3 files changed, 13 insertions(+), 21 deletions(-) diff --git a/.github/workflows/R-CMD-check.yaml b/.github/workflows/R-CMD-check.yaml index 0528262..14159b7 100755 --- a/.github/workflows/R-CMD-check.yaml +++ b/.github/workflows/R-CMD-check.yaml @@ -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: @@ -18,7 +18,7 @@ jobs: fail-fast: false matrix: config: - - {os: macOS-latest, r: 'release'} + - {os: macos-latest, r: 'release'} - {os: windows-latest, r: 'release'} - {os: ubuntu-latest, r: 'devel', http-user-agent: 'release'} - {os: ubuntu-latest, r: 'release'} @@ -29,30 +29,22 @@ jobs: R_KEEP_PKG_SOURCE: yes steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - - uses: r-lib/actions/setup-pandoc@v1 + - uses: r-lib/actions/setup-pandoc@v2 - - 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 + extra-packages: any::rcmdcheck + needs: check - - 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 - - - name: Upload check results - if: failure() - uses: actions/upload-artifact@main + - 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")' diff --git a/DESCRIPTION b/DESCRIPTION index 909b59d..d3960f4 100755 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -10,7 +10,6 @@ Encoding: UTF-8 LazyData: true Roxygen: list(markdown = TRUE) RoxygenNote: 7.2.3 -URL: https://github.com/masiraji/tabledown, https://masiraji.github.io/tabledown/ BugReports: https://github.com/masiraji/tabledown/issues Language: en-US Depends: @@ -36,3 +35,4 @@ Suggests: markdown, spelling, testthat (>= 3.0.0) +URL: https://masiraji.github.io/tabledown/ diff --git a/README.md b/README.md index e2b1ffb..ae6e9fe 100755 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ [![Lifecycle: stable](https://img.shields.io/badge/lifecycle-stable-brightgreen.svg)](https://lifecycle.r-lib.org/articles/stages.html#stable) [![R-CMD-check](https://github.com/masiraji/tabledown/workflows/R-CMD-check/badge.svg)](https://github.com/masiraji/tabledown/actions) [![license](https://img.shields.io/badge/license-MIT%20+%20file%20LICENSE-lightgrey.svg)](https://choosealicense.com/) [![metacran downloads](https://cranlogs.r-pkg.org/badges/tabledown)](https://cran.r-project.org/package=tabledown) - +[![R-CMD-check](https://github.com/masiraji/tabledown/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/masiraji/tabledown/actions/workflows/R-CMD-check.yaml) This package is a companion R package for the Book " Basic and Advanced Psychometrics in R" [work in Progress]