-
Notifications
You must be signed in to change notification settings - Fork 69
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 #2230 update_generic: rewrite "Generic Functions" vignette #2246
Conversation
…var_merged_summary(), updated NEWS.md
I had to rewrite the vignette because the summary and compute derivations were missing and the old approach of structuring it by the function name fragments does not work (there is no clear separation of "merged" and "extreme" functions). |
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.
I like this new vignette! it's more organized and easier to follow along
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.
This is a fantastic vignette @bundfussr - just requested some minor updates but you did a really thorough job here. I will definitely be pointing a lot of new users to this.
@@ -52,9 +52,11 @@ Imports: | |||
Suggests: | |||
diffdf, | |||
DT, | |||
htmltools, |
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.
Is this package really needed? I see it called one time?? or is it a dependency for reactable
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.
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.
R-CMD checks failed without htmltools
. So I think we need it.
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.
Umm....I;m wondering if we should display the tables in a different way and not introduce this htmltools/reactable dependency in thie release. I recognize it is in the SUGGESTS, but just thinking for maintenance.
Ideally, I'd like us to remove DT dependency and move to reactable if that is feasible. Just seems strange to me to have multiple Table Displaying packages and we should just stick to one.
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.
I would keep htmltools
and reactable
in Suggests:
for this release.
Next year we can investigate if we should move completely to reactable
. I think for this release it's too late.
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.
okay...im very reluctant about this addition of packages.
I think we could of just used kable to display your tables as we already have knirtr.
but ill add it to discussion
knitr, | ||
methods, | ||
pharmaversesdtm, | ||
reactable, |
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.
Should we just move from DT to reactable anyways?
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.
I can't get back to finish this until Monday, but happy for folks to review and merge it in.
However, I do want to talk about these new packages in the DESCRIPTION file. I will make a note in the agenda for next week's meeting.
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
devel
branch until you have checked off each task.styler::style_file()
to style R and Rmd filesdevtools::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)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()