Conversation
Melkiades
left a comment
There was a problem hiding this comment.
@shajoezhu @BFalquet let me know what you think! I managed to get also the flextable output to work with our theme
Unit Tests Summary 1 files 76 suites 1m 59s ⏱️ For more details on these errors, see this check. Results for commit b97659d. ♻️ This comment has been updated with latest results. |
Unit Test Performance Difference
Additional test case details
Results for commit 798c51b ♻️ This comment has been updated with latest results. |
BFalquet
left a comment
There was a problem hiding this comment.
Nice work but apparently the version of tidyselect was updated and using an external vector in selections was deprecated. => use NSE or all_of (there are couple of occurences). Also we get a warning in the .determine_ggplot_header and ..plot_centered_axis as well as in couple of other unmodified function because we dont use .data. add them to utils::globalVariables or use .data/.env
Yes I saw the first issue but if you follow it, it seems to be related to process_selectors which is a cards function... I will investigate the second issue! |
| #' @param header_spaces (`integer`)\cr Spaces to add to the forest plot header to | ||
| #' visually separate the two treatment areas (`trt A\n Better` and `trt B\nBetter`). | ||
| #' It is suggested to modify manually this variable if the treatment names are long, | ||
| #' with `add_forest(..., header_spaces = 5)` or `flextable::set_header_labels(ggplot = "*")`. |
There was a problem hiding this comment.
I do not think estimates of widths and so on are easy to do here
There was a problem hiding this comment.
hence the suggestion to do this manually
What changes are proposed in this pull request?
add_forest()) as attachedggplot2for each row.g_forest()and its dependencies.Provide more detail here as needed.
#160
New generic format (inspired by

gtforester@ddsjoberg)More specific output:

Pre-review Checklist (if item does not apply, mark is as complete)
usethis::pr_merge_main()devtools::test_coverage()Reviewer Checklist (if item does not apply, mark is as complete)
pkgdown::build_site(). Check the R console for errors, and review the rendered website.devtools::test_coverage()When the branch is ready to be merged:
NEWS.mdwith 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.mdfor examples).