Skip to content

Add option to configure when R CMD check fails#29

Merged
rszymanski merged 1 commit intomainfrom
feat/error-on-argument
Jun 6, 2025
Merged

Add option to configure when R CMD check fails#29
rszymanski merged 1 commit intomainfrom
feat/error-on-argument

Conversation

@rszymanski
Copy link
Copy Markdown
Contributor

@rszymanski rszymanski commented Jun 5, 2025

Description

This PR adds the 'error-on' argument to both the check_current_version.yaml and check_nn_versions.yaml workflows

By default r-lib/actions/check-r-package@v2 sets it to 'warning' - which means that if the result contains NOTEs the workflow will still pass

By adding the argument you can opt-in for a more thorough check, it's still set to 'warning' by default to prevent breaking existing usage

@rszymanski rszymanski requested a review from akselthomsen June 5, 2025 15:34
@rszymanski rszymanski changed the title Add option configure when R CMD check fails Add option to configure when R CMD check fails Jun 5, 2025
@rszymanski rszymanski removed the request for review from akselthomsen June 5, 2025 15:40
@rszymanski rszymanski marked this pull request as draft June 5, 2025 15:41
@rszymanski rszymanski force-pushed the feat/error-on-argument branch 4 times, most recently from a36503d to 23df8c4 Compare June 5, 2025 16:37
Useful if you want CI to fail on NOTEs
@rszymanski rszymanski force-pushed the feat/error-on-argument branch from 23df8c4 to 3e09612 Compare June 5, 2025 16:40
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Jun 5, 2025

Github pages

Review the pkgdown webpage for the PR here

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Jun 5, 2025

Code coverage

Name Coverage (%)
r.workflows 100
R/hello.R 100

@rszymanski rszymanski requested a review from akselthomsen June 5, 2025 16:50
@rszymanski rszymanski marked this pull request as ready for review June 5, 2025 16:53
Comment thread .github/workflows/check_current_version.yaml
Comment thread .github/workflows/check_current_version.yaml
@rszymanski rszymanski merged commit d3eb94e into main Jun 6, 2025
14 checks passed
@rszymanski rszymanski deleted the feat/error-on-argument branch June 6, 2025 14:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants