Releases: insightsengineering/crane
Releases · insightsengineering/crane
v0.3.1
New Functions and Functionality
- Added
tbl_roche_subgroups()for subgroup analysis. - Added
g_forestto create forest plot.
What's Changed
- kmg plot by @shajoezhu in #141
- Forest plot by @shajoezhu in #144
- Fix main fail by @shajoezhu in #149
- 157 cran failing fix by @shajoezhu in #158
- preparing for release 0.3.0, [skip vbump] by @shajoezhu in #146
Full Changelog: v0.3.0...v0.3.1
v0.3.0
New Functions and Functionality
- Added
tbl_null_report()for cases without any information to display. (#11) - Added functions
style_roche_number()andlabel_roche_number()to replace their respective gtsummary versions, with additionalinfargument for customization ofInf/-Inf/NaNvalues. - Added
list("assign_summary_type-arg:cat_threshold" = 0L)totheme_gtsummary_roche(). Numeric variables with few levels will no longer default to summary type'categorical'ingtsummary::tbl_summary()andtbl_roche_summary(). (#79)
Other Updates
- Updated variable processing in
tbl_baseline_chg()to allow for non-string input. (#114) - Updated details about the
sort_hierarchical()andfilter_hierarchical()functions in the hierarchical tables article. (#116) - Added the
labelargument totbl_hierarchical_rate_and_count()to set hierarchy variables labels in the table header. (#118)
Bug Fixes
- Fixed
remove_duplicate_keys()to remove non-unique column values when the key columns are a mix of unique and duplicated entries. (#129)
What's Changed
- Update variable processing in
tbl_baseline_chg()to allow non-string input by @edelarua in #115 - Update hierarchical table article by @edelarua in #117
- Add
labelparameter totbl_hierarchical_rate_and_count()by @edelarua in #119 - Remove bold formatting from Roche theme by @edelarua in #121
- add
style_roche_numberandlaber_roche_numberfunctions by @ayogasekaram in #122 - Addition of
tbl_null_report()for cases without any statistic output row by @Melkiades in #125 - faster sorting by @Melkiades in #126
- Remove type casting to factor when few values (numeric) by @Melkiades in #124
- 127 style number@main by @ayogasekaram in #128
- Fix remove duplicated lines for unique values by @Melkiades in #130
- replace pharmaverse ADLB dataset with cards by @ayogasekaram in #123
- Set default digits for
tbl_roche_summary()by @edelarua in #139 - update readme, adding license by @shajoezhu in #140
- Add
add_difference_row.tbl_survfit_timesfor survival difference rows by @edelarua in #132
New Contributors
- @shajoezhu made their first contribution in #140
Full Changelog: v0.2.0...v0.3.0
v0.2.0
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