Skip to content

Commit

Permalink
Update snapshots using R 4.4.0 (#930)
Browse files Browse the repository at this point in the history
* Update snapshots using R 4.4.0

Closes #872

* merge strict and standard rcmdcheck workflows

* Update R-CMD-check.yaml

* reinstall Matrix

* Update R-CMD-check.yaml

* Update R-CMD-check.yaml

* throw everything but the kitchen sink

* Update R-CMD-check.yaml
  • Loading branch information
IndrajeetPatil authored May 5, 2024
1 parent 0d6836e commit 54b373f
Show file tree
Hide file tree
Showing 38 changed files with 148 additions and 330 deletions.
62 changes: 0 additions & 62 deletions .github/workflows/R-CMD-check-strict.yaml

This file was deleted.

47 changes: 37 additions & 10 deletions .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ on:

name: R-CMD-check

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref }}
cancel-in-progress: true

jobs:
R-CMD-check:
runs-on: ${{ matrix.config.os }}
Expand All @@ -18,22 +22,29 @@ jobs:
fail-fast: false
matrix:
config:
# Checks are not run on R-devel because they are already run in
# `R-CMD-check-strict` workflow

#- { os: macos-latest, r: 'devel' }
#- { os: macos-latest, r: "release" }
- { os: macos-latest, r: "oldrel-1" }
#- {os: macOS-latest, r: 'devel'}
- { os: macOS-latest, r: "release" }
- { os: macOS-latest, r: "oldrel" }
#- {os: macOS-latest, r: 'oldrel-2'}
#- {os: macOS-latest, r: 'oldrel-3'}

# TODO: turn on windows-devel when stringi#508 is fixed
#- { os: windows-latest, r: "next" }
#- { os: windows-latest, r: "devel" }
- { os: windows-latest, r: "release" }
#- { os: windows-latest, r: "oldrel-1" }
- { os: windows-latest, r: "oldrel" }
#- {os: windows-latest, r: 'oldrel-2'}
#- {os: windows-latest, r: 'oldrel-3'}

# use 4.1 to check with rtools40's older compiler
#- { os: windows-latest, r: "4.1" }

#- { os: ubuntu-latest, r: "next" }
#- { os: ubuntu-latest, r: "devel" }
#- { os: ubuntu-latest, r: "release" }
#- { os: ubuntu-latest, r: "oldrel-1" }
- { os: ubuntu-latest, r: "devel" }
- { os: ubuntu-latest, r: "release" }
#- { os: ubuntu-latest, r: "oldrel" }
#- { os: ubuntu-latest, r: "oldrel-2" }
#- { os: ubuntu-latest, r: "oldrel-3" }

env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -55,10 +66,26 @@ jobs:
with:
pak-version: devel
upgrade: 'TRUE'
cache-version: 99
extra-packages: |
any::rcmdcheck
Matrix=?ignore-before-r=100.0.0
lme4=?ignore-before-r=100.0.0
TMB=?ignore-before-r=100.0.0
needs: check

- name: Install packages from source
run: |
utils::install.packages(c("Matrix", "lme4", "TMB"), type = "source")
shell: Rscript {0}

- uses: r-lib/actions/check-r-package@v2
with:
upload-snapshots: true
upload-results: true
error-on: 'ifelse(getRversion() > "4.3", "note", "warning")'
env:
_R_CHECK_CRAN_INCOMING_REMOTE_: false
_R_CHECK_CRAN_INCOMING_: false
_R_CHECK_FORCE_SUGGESTS_: false
_R_CHECK_STOP_ON_INVALID_NUMERIC_VERSION_INPUTS_: true
Binary file modified man/figures/README-ggbetweenstats1-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified man/figures/README-ggbetweenstats2-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified man/figures/README-ggwithinstats1-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified man/figures/README-ggwithinstats2-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion tests/testthat.R
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# graphics engine changed in this version, and so snapshots generated on
# previous R version won't work
if (getRversion() < "4.4.0") {
if (getRversion() >= "4.4.0") {
library(testthat)
suppressPackageStartupMessages(library(ggstatsplot))

Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 54b373f

Please sign in to comment.