-
Notifications
You must be signed in to change notification settings - Fork 130
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
Selecting function updates #685
Conversation
… into tidy_plus_plus
@karissawhiting @michaelcurry1123 helllllooo! I miss you guys! Can either of you or both of you review this PR? |
@karissawhiting @michaelcurry1123 To prepare the
What do you think? ❤️ |
From my point of view, I would prefer solution 1 or 3. |
@ddsjoberg I would agree with the above, I think 1 and/or 3 would be ideal. |
Thanks @larmarange @michaelcurry1123 , i'll implement number 1 for now, and if we choose we can always add number 3 before the release, or whenever |
@ddsjoberg should I update the branch? |
@michaelcurry1123 Update with corrections? Sure! |
Ohh updating from master 👍👍👍 |
@ddsjoberg I think you had to review, apologize if you did not want the update from master |
Oh updating was def the thing to do @michaelcurry1123 |
There is some masking issues with the migration of the select helpers to broom.helpers
|
@michaelcurry1123 ! thanks! this issue comes up because both gtsummary and broom.helpers export a There are a couple of ways we could tackle this:
|
Not a problem on my side. We cant update |
Would it be safe to assume people would not use these packages at the same time? @larmarange did you mean you could update or cannot update? In your above response it says can't and not can |
Sorry. Can. |
Thanks @michaelcurry1123 and @larmarange for the input
|
Hello @michaelcurry1123 ! Just wanted to confirm whether this review is done? 🍁 |
What changes are proposed in this pull request?
.generic_selector()
: this is a function that makes it easy to create selecting functions likeall_continuous()
. The internals allow for it to be used in broom.helpers and gtsummary seamlessly..select_to_varnames()
: This function converts selecting syntax into character varnames.formula_list_to_named_list()
: this function takes the formula selecting syntax used widely in gtsummary, and converts it to a named list.broom.helpers::tidy_plus_plus()
instead of the individualbroom.helpers::tidy_*()
functions.tidy_plus_plus()
arguments.tbl_regression(add_estimate_to_reference_rows=)
argument has been added. Added totbl_uvregression()
as well.tbl_regression(add_estimate_to_reference_rows=)
has been added.all_continuous(continuous2=)
has been removed. No deprecation messages were added...it was just cut.If there is an GitHub issue associated with this pull request, please provide link.
closes #648
closes #680
closes #692
closes #677
Checklist for PR reviewer
tbl_summary()
, was the same change implemented fortbl_svysummary()
?_pkgdown.yml
pkgdown::build_site()
. Check the R console for errors, and review the rendered website.covr::report()
. Before you run, setSys.setenv(NOT_CRAN=true)
and begin in a fresh R session without any packages loaded.# gtsummary (development version)
". If there is an issue associated with the pull request, reference it in parantheses at the end update (see NEWS.md for examples).usethis::use_spell_check()
runs with no spelling errors in documentationusethis::use_version(which = "dev")
, runcodemetar::write_codemeta()
, approve, and merge the PR.