-
Notifications
You must be signed in to change notification settings - Fork 68
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
Closes #2577: Add unit tests for set_admiral_options #2589
Conversation
Let me know if I can do anything to improve this. I didn't name it "Closed #2577 " since it doesn't address 2/3 bullet points. In regards to In regards to |
I'm interested in moving this function out of admiral or just not testing it all. I believe we can tell testthat that it is not code we want to test. WDYT @manciniedoardo and @bundfussr ?
Could we use |
Umm...maybe we should re-look at the interactive portion of this function?? |
Happy to reevaluate the testing for this function, but I do think the best place for it remains the admiral package itself. |
We should split out from this PR/ISsue as roxygen_param_by_vars was an experimental function. We don't really have proper documentation for it. Fine if we want to add tests to it, but we should probably also document it now that it is being used more |
Note: i updated #2577 so it only refers to |
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.
Thanks @Anthogonyst look great! Just a minor comment.
@Anthogonyst are you able to complete this? - we split out the tests so this is the only one to complete now. |
Sure thing. Here you go, the test comments are updated. @manciniedoardo @bms63 |
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.
Thanks!! not sure what adventure you want to go on #2605 is a quick one but kind of interesting i think
@Anthogonyst - totally up to you, but if you do want to pass us your name we can acknowledge your contribution in the README |
@bms63 @manciniedoardo If you can add my name as "Anthony Arroyo" in the contributions list, that would be great. I'm not entirely sure what my next steps are at the moment. Thank you. |
Thank you for your Pull Request! We have developed this task checklist from the Development Process Guide to help with the final steps of the process. Completing the below tasks helps to ensure our reviewers can maximize their time on your code as well as making sure the admiral codebase remains robust and consistent.
Please check off each taskbox as an acknowledgment that you completed the task or check off that it is not relevant to your Pull Request. This checklist is part of the Github Action workflows and the Pull Request will not be merged into the
main
branch until you have checked off each task.styler::style_file()
to style R and Rmd filesinst/cheatsheet/admiral_cheatsheet.pptx
and re-upload a PDF and a PNG version of it to the same folder. (The PNG version can be created by taking a screenshot of the PDF version.)devtools::document()
so all.Rd
files in theman
folder and theNAMESPACE
file in the project root are updated appropriatelyNEWS.md
under the header# admiral (development version)
if the changes pertain to a user-facing function (i.e. it has an@export
tag) or documentation aimed at users (rather than developers). A Developer Notes section is available inNEWS.md
for tracking developer-facing issues.pkgdown::build_site()
and check that all affected examples are displayed correctly and that all new functions occur on the "Reference" page.lintr::lint_package()
R CMD check
locally and address all errors and warnings -devtools::check()