Skip to content

Commit

Permalink
ci: Allow NOTEs on R-devel
Browse files Browse the repository at this point in the history
  • Loading branch information
krlmlr committed Jun 27, 2024
1 parent ad3a3b6 commit 1f101fc
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/custom/after-install/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: 'Custom steps to run after R packages are installed'

runs:
using: "composite"
steps:
# Must happen after R is installed...
- name: Define R CMD check error condition
# Allow NOTEs on R 4.5 due to SET_TRUELENGTH, SET_GROWABLE_BIT and SETLENGTH from cpp11
run: |
if (getRversion() >= "4.5" && getRversion() < "4.6") {
cat('RCMDCHECK_ERROR_ON="warning"\n', file = Sys.getenv("GITHUB_ENV"), append = TRUE)
}
shell: Rscript {0}

0 comments on commit 1f101fc

Please sign in to comment.