-
Notifications
You must be signed in to change notification settings - Fork 2
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
R opensci editor comments #167
Conversation
Codecov ReportAttention: Patch coverage is
|
@maelle all the tests pass now 🥳 (I found the bug) |
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.
Thank you, the changes look good!
Regarding the user prompt, should it use utils::menu()
for the y/n answers? (this might also be useful for user_prompt_list()
?) I was looking at https://github.com/r-lib/usethis/blob/d3b4a3c216d1e83b9b67f42e1eff352a429ede31/R/utils-ui.R as I have no experience with such functions myself but remembered seeing them as an user of usethis. (for free text I see https://github.com/r-lib/gitcreds/blob/cf006f0ae28d62ad2f9d24b03bbd0e99f7770764/R/git-auth.R#L111 uses the same thing as you do) I started looking into this as you mentioned tests. I am not sure I would have tested those but that doesn't mean testing them is a bad idea. 😸
Ohh, interesting. I think it would take me another PR and a bit of time to understand how these utils:meun() functions can help, as I have lots of user interaction all throughout the package. What do you recommend - shall I put it as an Issue in the repo, or address before/during the review process? Thanks! |
I think |
Yeah, I think so too! If it's okay to delay to January for sending for review, this week I can
|
Can you please ask this question again in the software-review thread? Spoiler, I'll answer yes. 😁 Note that I'll be on vacation from December 28th to January 6th. |
@maelle I am going to merge this PR as I think I have responded to all your feedback (either implementing the change or making an issues) - any reason not to at this stage? Thanks for the feedback so far! |
Sounds good and my pleasure! |
Closes #
References #
Responding to rOpenSci editor comments: ropensci/software-review#674 (comment)
Proposed Changes
PLEASE NOTE: Improvements to DESCRIPTION and README, and considerations for changing package name, will be addressed elsewhere.
unlink(c(table_file, bar_file_html, bar_file_csv))
-- that's personal preference though. 👉 9906266 and 639a2b9Checklist for the author of this PR:
devtools::document()
to generates the.Rd
files from any updated roxygen comments.codemetar::write_codemeta()
to ensures the metadata file is up to date.styler::style_pkg()
to ensure consistent code styling that match the guidelines.devtools::check()
for a comprehensive package check. I have resolved any warnings or errors, or written them here in the PR, for discussion.