-
-
Notifications
You must be signed in to change notification settings - Fork 3
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
Fmt fn arg #83
Fmt fn arg #83
Conversation
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 didn't get a chance to look at everything, but it's looking great. Thank you! A few comments so far
Hey hey! I was trying at various cases and found a bug I had written in cards::compute_formula_selector(
data = mtcars[c("mpg", "hp")],
x = list(everything() ~ "THE DEFAULT", mpg = "Special for MPG")
)
#> $hp
#> [1] "THE DEFAULT"
#>
#> $mpg
#> [1] "Special for MPG" Created on 2023-12-21 with reprex v2.0.2 I fixed the bug in this PR and added a unit test because it's related to our implementation of There is still the issue of filling the default formatting functions because the other fill function only fills defaults for top-level of the list, and not a list within a list. To keep this simple, I think I'll just make the default value |
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.
LGTM! Thanks!
What changes are proposed in this pull request?
Reference GitHub issue associated with pull request. e.g., 'closes #1'
closes #63
Reviewer Checklist (if item does not apply, mark is as complete)
devtools::install_dev_deps()
usethis::pr_merge_main()
pkgdown::build_site()
. Check the R console for errors, and review the rendered website.devtools::test_coverage()
usethis::use_spell_check()
runs with no spelling errors in documentationWhen the branch is ready to be merged:
NEWS.md
with the changes from this pull request under the heading "# cards (development version)
". If there is an issue associated with the pull request, reference it in parentheses at the end update (seeNEWS.md
for examples).usethis::use_version(which = "dev")
usethis::use_spell_check()
again