v0.5.0
New features
-
The
tab_spanner()
andtab_spanner_delim()
functions now support the addition of column spanners with unlimited levels (previously, only a single level of spanner column labels was possible to add) (#746). (#905) -
There is now support for the Indian numbering system, making the placement of digit-grouping separators correspond to thousand, lakh, crore, and higher quantities. This is available for several
fmt_*()
functions (fmt_number()
,fmt_integer()
,fmt_currency()
,fmt_percent()
, andfmt_fraction()
) and is exposed as thesystem
argument with two options"intl"
(international, the default) and"ind"
(Indian).
Minor improvements and bug fixes
-
Enhanced the
cols_merge_uncert()
function such that different lower and upper uncertainty values could be used (by specifying two columns in thecol_uncert
argument) (#884). (#888) -
Honor the
locale
setting from the initialgt()
call when rendering summary rows (#906). (#907) -
Fixed an issue where styles that spanned multiple columns and rows in a summary block were not fully rendered (#859). (#924)
-
Improved LaTeX rendering of certain characters (e.g,
\
,~
,&
, etc.). (#903) -
Aggregations with
summary_rows()
andgrand_summary_rows()
that might return anNaN
(common case is usingmean(., na.rm = TRUE)
on an all-NA
column) now returnNA
. This removes the evaluation error that would otherwise occur and provides an opportunity to replace theNA
with an explanatory replacement string (#471, #827). (#887)