Closed Aariq closed 1 year ago
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 Rcheck_reference.log
@Aariq, may be this comment can help you with updating
Rcheck_reference.log
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
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: