-
Notifications
You must be signed in to change notification settings - Fork 235
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
PEcAn.ED2 check warnings #3135
PEcAn.ED2 check warnings #3135
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. The only things I see missing are a note in the changelog and an updated Rcheck_reference.log to enforce that these errors can't creep back in.
Are there instructions somewhere on how to update the Rcheck_reference.log? I couldn't find anything in the documentation or in CONTRIBUTING.md |
@Aariq, may be this comment can help you with updating |
Oh wow, that's a lot more work than I expected. Won't have time for this for a while. Thanks for pointing me in the right direction though! |
@Aariq rather than making line-by-line edits to the log, if you make a lot of changes it can often be easier to just replace the existing log with a copy-and-paste of the entire plain-text output from R CMD check. If done correctly the resulting PR diff should end up highlighting just the things you fixed. @infotroph at some point it would be good to summarize your guidance about log updates into the PEcAn documentation itself |
@Aariq Alternate approach: Follow the instructions in lines 84-95 of scripts/check_with_errors.R. The result is the same as the copy-paste approach Mike suggested, but with a smidge less room for configuration differences to creep in because you know you're using e.g. the same check flags as the replaced file was. |
Ok, I took your suggestion @infotroph and committed the new log |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"some of the low-hanging", @Aariq says, as he knocks out 150 lines of warnings in one go 😄
Co-authored-by: Chris Black <[email protected]>
Description
Just fixing some of the lower-hanging fruit in terms of R CMD check warnings and notes for PEcAn.ED2
Motivation and Context
Review Time Estimate
Types of changes
Checklist: