Skip to content

Commit 5ba2355

Browse files
committed
Add ability to override error handling of R CMD check
1 parent e9c17e7 commit 5ba2355

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/R-reusable.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@ on:
66
package_name:
77
required: true
88
type: string
9+
error-on:
10+
required: false
11+
type: string
12+
default: "warning"
13+
914

1015
name: Build and check an R package
1116

@@ -64,3 +69,4 @@ jobs:
6469
working-directory: R/bican.mccarroll.${{ inputs.package_name }}
6570
upload-snapshots: true
6671
build_args: 'c("--no-manual","--compact-vignettes=gs+qpdf")'
72+
error-on: ${{ inputs.error-on }}

0 commit comments

Comments
 (0)