Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update check_with_errors for new devtools #2174

Merged
merged 2 commits into from
Nov 5, 2018

Conversation

infotroph
Copy link
Member

@infotroph infotroph commented Nov 2, 2018

Fixes #2173

devtools::check now defaults to exiting with an error on any warning or error from R CMD check, so we need to specify error="never" so that the check_with_errors script can finish (Otherwise it Also, an unrelated issue will falsely report success with 0 warnings and 0 notes).

Note that this means check_with_errors.R is now redundant for its original purpose (which was basically to provide the behavior we could now get from devtools::check(..., error_on="error")), but I propose we keep it around and use it to start promoting specific warnings to errors as a path toward finishing #1949.

Description

Motivation and Context

Review Time Estimate

  • Immediately
  • Within one week
  • When possible

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My change requires a change to the documentation.
  • I have updated the CHANGELOG.md.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

@infotroph infotroph requested a review from ashiklom November 2, 2018 16:54
@infotroph infotroph changed the title update check_with_errors for new devtools WIP update check_with_errors for new devtools Nov 2, 2018
@infotroph infotroph force-pushed the fix-checks branch 3 times, most recently from aa7edcb to 2d51699 Compare November 3, 2018 00:44
@infotroph infotroph changed the title WIP update check_with_errors for new devtools update check_with_errors for new devtools Nov 3, 2018
@infotroph
Copy link
Member Author

This appears to be working -- ready for review now.

@tonygardella tonygardella merged commit 261a5c7 into PecanProject:develop Nov 5, 2018
@infotroph infotroph deleted the fix-checks branch November 8, 2018 16:38
@infotroph infotroph mentioned this pull request Sep 4, 2019
12 tasks
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.

check_with_errors not checking
3 participants