Skip to content

v0.9.4

Compare
Choose a tag to compare
@insights-engineering-bot insights-engineering-bot released this 17 Apr 07:29
· 91 commits to main since this release
2d9280e

New Features

  • Added h_glm_negbin to h_glm_count to enable count data analysis using a negative binomial model.
  • Added argument grade_groups_only to count_occurrences_by_grade to allow users to only display rows for specified grade groups.
  • Added internal function df2gg that converts data.frame objects to ggplot objects.
  • Added functions control_surv_med_annot and control_coxph_annot to configure g_km annotation table sizes/positions.
  • Refactored g_km to output a ggplot object instead of a grob object.
  • Refactored g_forest to output a ggplot object instead of a grob 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 specified control 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 to g_ipp.R.
  • Removed all instances of deprecated parameters time_unit_input, time_unit_output, na_level and indent_mod.
  • Removed deprecated functions summarize_vars, control_summarize_vars, a_compare, create_afun_summary, create_afun_compare, and summary_custom.
  • Removed vdiffr package from Suggests in DESCRIPTION file.
  • Began deprecation of the named element strat, to be renamed to strata, within the variables argument to h_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, and extract_survival_subgroups.
  • Began deprecation of the strat argument to s_coxph_pairwise and replaced it with the strata argument.
  • Began deprecation of the forest_grob, forest_dot_line, forest_viewport, vp_forest_table_part, and grid.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, and h_grob_coxph.
  • Began deprecation of grob/grid related functions stack_grobs, arrange_grobs, and draw_grob which are no longer used in tern.

What's Changed

New Contributors

Full Changelog: v0.9.3...v0.9.4