·
25 commits
to main
since this release
New Functions and Functionality
- The
tbl_demographics()function has been renamed totbl_roche_summary()with the following updates. (#73).-
Updated
tbl_roche_summary()to convert cells with"0 (0.0%)"to"0". -
Update the
tbl_roche_summary()returnedinputslist to match thetbl_roche_summary()argument inputs, whereas it previously returned thetbl_summary()inputs. (#31) -
Changed the default header in
tbl_roche_summary()tables from**Characteristic**to an empty string. -
Fix in
tbl_roche_summary()when a variable is allNAwithin a stratum. The zero count was displayed as"0 (NA%)"instead of"0". (#60)
-
- Added function
tbl_hierarchical_rate_by_grade()to summarize adverse event rates by highest toxicity grade. (#46) - Adding the
modify_zero_recode()function that recodes"0 (0.0%)"to"0"in summary tables. - Adding the
modify_header_rm_md()function to remove bold and italic markdown syntax from the headers of a gtsummary table. (#53) - Adding
tbl_hierarchical_rate_and_count()and associated S3 methodadd_overall()to summarize hierarchical event rates and counts. (#36) - Added
tbl_survfit_quantiles()andadd_overall.tbl_survfit_quantiles()to create a table of survival quantiles. (#19) - Adding
tbl_survfit_times()andadd_overall.tbl_survfit_times() - Adding
tbl_baseline_chg()function. (#62) - Added function
tbl_shift()for easing the creation of shift tables. (#83) - Added
style_roche_percent()andlabel_roche_percent()functions. - Added formatting functions
style_roche_ratio()andlabel_roche_ratio(). (#91) - Added
variablesandrow_numbersarguments to theadd_blank_rows()function. (#45) - Re-coding
0 / 0 (NA%)to0 / 0inmodify_zero_recode(). (#85)
Other Updates
- Added an article giving an overview of the {crane} package. (#37)
- The {gtsummary} is now loaded with {crane}.
- Updated Roche theme to bold headers for
flextableoutputs. - Updated Roche theme to include parentheses around Ns in header, and updated function defaults to include the parentheses in crane functions.
- Updated
theme_gtsummary_roche()to further style results fromgtsummary::tbl_hierarchical*()functions. - Added
theme_gtsummary_roche(font_size, print_egine)arguments to control the default font size and the print engine. - Updated Roche theme to use
style_roche_percent()as the default function to format percentages. - Added additional {flextable} specs for
theme_gtsummary_roche(). Mainly border line width (0.5) and footer font size (font_size- 1).
What's Changed
- Update scheduled.yaml by @ddsjoberg in #2
- add files for repo to match nest style by @ayogasekaram in #3
- setting up testing by @ddsjoberg in #15
- Adding startup messaging by @ddsjoberg in #10
- Release prep [skip vbump] by @ddsjoberg in #22
- Adding
add_overall()by @ddsjoberg in #32 - Attaching cards and cardx with crane by @ddsjoberg in #34
- Adding
tbl_survfit_quantiles()by @ddsjoberg in #23 - Add flx docx theme by @Melkiades in #35
- Add introduction article by @edelarua in #39
- adding new tests by @ddsjoberg in #42
- update forcats standalone script by @ayogasekaram in #44
- Add hierarchical tables/stratified nested tables article by @edelarua in #40
- Added
add_overall.tbl_survfit_quantiles()by @ddsjoberg in #49 - Add
roche_pvalue()unit tests by @ddsjoberg in #51 - Adding
tbl_survfit_times()by @ddsjoberg in #50 - Adding
tbl_ae_rate_and_count()by @ddsjoberg in #47 - Adding
strip_md_bold()andstrip_md_italic()by @ddsjoberg in #54 - Updates for
tbl_hierarchical_rate_and_count()by @ddsjoberg in #56 - add reference section for crane functions by @ayogasekaram in #58
- Addressing
0 (NA%)recoding issue by @ddsjoberg in #61 - Adding
modify_header_rm_md()by @ddsjoberg in #64 - Adding
modify_zero_recode()by @ddsjoberg in #66 - Header Updates by @ddsjoberg in #67
- accounting for
add_overall()inadd_hierarchical_count_row()by @ddsjoberg in #70 - Adding ARD to
add_hierarchical_count_row()by @ddsjoberg in #71 - Rename
tbl_demographics()by @ddsjoberg in #74 - add roche_percent() function by @ayogasekaram in #68
- Adding theme arguments by @ddsjoberg in #76
- update theme for hierarchical tables by @ddsjoberg in #78
- Addition of row_numbers and explicit defaults for
add_blank_rowsby @Melkiades in #75 - Update digits to NULL in tbl_hierarchical_rate_and_count by @ayogasekaram in #82
- Add
tbl_hierarchical_rate_by_grade()by @edelarua in #52 - chore: Add CI pipeline for internal sync by @cicdguy in #87
- Adding
tbl_shift()by @ddsjoberg in #84 - Add parentheses around Ns by @ddsjoberg in #90
- Add parentheses to hard-coded header N strings by @edelarua in #95
- Bolding headers by @Melkiades in #100
- Adding
add_hierarchical_count_row(data_process)argument by @ddsjoberg in #102 modify_zero_recode()to recode0 / nn (0%)to0 / nnby @ddsjoberg in #103- cards fn rename updates by @ddsjoberg in #105
- fix fontsize by @Melkiades in #104
- change from baseline function draft by @ayogasekaram in #65
- add gtsummary prefix by @ayogasekaram in #109
- Adding
add_blank_row(variable_level)argument by @ddsjoberg in #110 tbl_listing()Review Proposed Updates by @ddsjoberg in #111- Adding
*roche_ratio()functions by @ddsjoberg in #112
New Contributors
- @ayogasekaram made their first contribution in #3
- @Melkiades made their first contribution in #35
- @edelarua made their first contribution in #39
- @cicdguy made their first contribution in #87
Full Changelog: https://github.com/insightsengineering/crane/commits/v0.2.0