v0.9.4
insights-engineering-bot
released this
17 Apr 07:29
·
117 commits
to main
since this release
New Features
- Added
h_glm_negbin
toh_glm_count
to enable count data analysis using a negative binomial model. - Added argument
grade_groups_only
tocount_occurrences_by_grade
to allow users to only display rows for specified grade groups. - Added internal function
df2gg
that convertsdata.frame
objects toggplot
objects. - Added functions
control_surv_med_annot
andcontrol_coxph_annot
to configureg_km
annotation table sizes/positions. - Refactored
g_km
to output aggplot
object instead of agrob
object. - Refactored
g_forest
to output aggplot
object instead of agrob
object.
Enhancements
- Default format for mean p-values (
mean_pval
) updated from"xx.xx"
to"x.xxxx | (<0.0001)"
.
Bug Fixes
- Fixed nested column split label overlay issue in
rtable2gg
to clean up appearance of text labels. - Fixed bug in
s_ancova
causing incorrect difference calculations for arm variables with irregular levels. - Fixed bug in
format_count_fraction_fixed_dp
that did not have the same print when the fraction was 1 (100%). - Fixed bug in
g_lineplot
causing default labels not to update according to specifiedcontrol
settings. - Fixed bug causing an error when automatic value formatting was applied to
NA
values.
Miscellaneous
- Added function
expect_snapshot_ggplot
to test setup file to process plot snapshot tests and allow plot dimensions to be set. - Adapted to argument renames introduced in
ggplot2
3.5.0. - Renamed
individual_patient_plot.R
tog_ipp.R
. - Removed all instances of deprecated parameters
time_unit_input
,time_unit_output
,na_level
andindent_mod
. - Removed deprecated functions
summarize_vars
,control_summarize_vars
,a_compare
,create_afun_summary
,create_afun_compare
, andsummary_custom
. - Removed
vdiffr
package from Suggests in DESCRIPTION file. - Began deprecation of the named element
strat
, to be renamed tostrata
, within thevariables
argument toh_rsp_to_logistic_variables
,h_logistic_mult_cont_df
,h_odds_ratio_subgroups_df
,h_coxreg_mult_cont_df
,h_coxph_subgroups_df
,h_tbl_coxph_pairwise
,extract_rsp_biomarkers
,extract_rsp_subgroups
,extract_survival_biomarkers
, andextract_survival_subgroups
. - Began deprecation of the
strat
argument tos_coxph_pairwise
and replaced it with thestrata
argument. - Began deprecation of the
forest_grob
,forest_dot_line
,forest_viewport
,vp_forest_table_part
, andgrid.forest
functions. - Began deprecation of no longer used Kaplan-Meier helper functions
h_ggkm
,h_decompose_gg
,h_km_layout
,h_grob_tbl_at_risk
,h_grob_median_surv
,h_grob_y_annot
, andh_grob_coxph
. - Began deprecation of
grob
/grid
related functionsstack_grobs
,arrange_grobs
, anddraw_grob
which are no longer used intern
.
What's Changed
- Workflow propagation by @walkowif in #1159
- Refactor
g_forest
by @edelarua in #1158 - Fix graph snapshot tests by @edelarua in #1165
- update snapshots by @ayogasekaram in #1166
- add
h_glm_negbin()
by @duanx9 in #1163 - Fix irregular arm levels calculation bug in
s_ancova
by @edelarua in #1169 - Add option
grade_groups_only
tocount_occurrences_by_grade
by @edelarua in #1170 - Fix README links by @edelarua in #1174
- Adding Bland- Altman statistical function by @linc50 in #1135
- Fix warnings in examples by @edelarua in #1180
- fix roxygenise deps; styler by @pawelru in #1183
- Fix pkgdown redirect by @vedhav in #1185
- Propagate files from insightsengineering/.github by @insights-engineering-bot in #1187
- [skip actions] Propagate files from insightsengineering/.github by @insights-engineering-bot in #1188
- #nolintr to # nolint by @pawelru in #1189
- Update DESCRIPTION, update author list by @shajoezhu in #1190
- Skip plot snapshot testing by @edelarua in #1194
- Fix typo, ggplot2 update warnings by @edelarua in #1197
- Replace
strat
withstrata
by @edelarua in #1198 - fix format precision for
format_count_fraction_fixed_dp
by @Melkiades in #1192 - options for strict tests; few enhancements by @pawelru in #1182
- Fix integration tests by @edelarua in #1200
- Update default format for mean p-values by @edelarua in #1204
- rename
trans
totransform
by @pawelru in #1202 - add snaps for bland-altman function by @ayogasekaram in #1201
- Remove deprecated functions, deprecate forest plot helpers by @edelarua in #1211
- Fix
g_lineplot
default labels by @edelarua in #1213 - Refactor
g_km
by @edelarua in #1210 - Accept
NULL
toget_labels_from_stats
by @edelarua in #1215 - Revert deprecation of
decorate_grob
-related functions used bycitril
by @edelarua in #1219 - fix verdepcheck by @pawelru in #1216
- Fix auto formatting for NA values by @edelarua in #1220
- Minor documentation clean up by @edelarua in #1222
- Workflow propagation by @walkowif in #1206
- add faceting variable to g_lineplot. add code to maintain factor levels. by @ayogasekaram in #1226
- Add tests for functions with missing coverage by @edelarua in #1229
- [skip vbump], preping for 0.9.4 release by @shajoezhu in #1227
New Contributors
- @duanx9 made their first contribution in #1163
- @linc50 made their first contribution in #1135
- @vedhav made their first contribution in #1185
Full Changelog: v0.9.3...v0.9.4