-
Notifications
You must be signed in to change notification settings - Fork 6
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
Add suggested fixes for straightforward packaging issues #151
Comments
Thanks @Bisaloo. I agree with you, but find it hard to conceive of a useful place where that kind of information might be placed. The package works around a bunch of "checks", each of which has (or may have) two methods: That leaves the I suspect that if "suggested fixes" were to be implemented, the best approach would be to add an additional Do you have any other suggestions? @maelle I'd also like to hear your thoughts on this. |
The end goal would be for these hints to appear in software-review threads, what method is that? |
"method" in the context of the technical internal "methods" of the package itself. Currently only has these two methods: output_pkgchk_<name_of_check> <- function (checks) {
out <- list (
check_pass = TRUE | FALSE,
summary = "<whatever>",
print = "<print method>"
)
return (out)
} All checks follow that structure, and so have only |
Thank you! Do you think the fixes would be as easy to find if they do not appear right beside the red crosses text? |
I think so, yes. The collapsible sections make the structure pretty clear. There are currently 4 main sections, and this would add an additional fifth section. I wouldn't like to think that sections might go on expanding indefinitely, but 5 still seems okay to me. What we then really need to do before heading off to address this issue is list here what check failures might or could be translating into suggested fixes? I'll start another comment that we can all edit and compile a list (from the output of |
Suggested Fixes
|
Awesome, I made a few edits! I don't think @Bisaloo can edit the issue text directly. |
Some issues are relatively straightforward and can often be fixed with a one-liner from usethis (e.g.
'DESCRIPTION' does not have a BugReports field.
). I believe it would be useful to suggest possible fixes for these issues.As someone conducting reviews, I often find myself repeating these things and I believe they could be part of the automation. I also believe it's slightly more empowering for submitters to be able to fix their issues on their own (with the help of the bot) rather than having to wait for input from the editor.
The text was updated successfully, but these errors were encountered: