You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've never used it, but I just discovered check_man(). Should this function name be check_man_fields() then? Or roll these checks into check_man(), maybe behind a flag?
It'd be nice to have one function for coding agents. I think agents also tend to call document() separately, so it'd be nice to skip documenting by default to speed up the check. So something like this
I'm not convinced that check_man() is that helpful. It can save you a little time compared to R CMD check but I generally find it detects problems that we don't tend to make any more.
I agree for human usage, but at a quick glance I think check_man() would catch mistakes that are common among coding assistants. In particular, updating a function signature but not documenting the parameter is a common coding agent miss. In my experience, check_man() is much faster than a full check() (2s vs a full minute or more in btw for example).
That said, I haven't fully looked into what's covered by check_man()
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #2525
@gadenbuie can you take a look too please? I think this should be a nice tool for a coding agent to verify that it's updated all the needed docs.