gt_plt_summary()
- #104gt_plt_dist()
- #102gt_fa_
functions - thanks to @areckenrode via #78gt_plt_bar()
- thanks to @paspvik via #75gt_plt_bullet()
- thanks to @zdenall via #79gt_theme_538()
to better align with FiveThirtyEight style, namely improved font choices ("Cairo")gt_fa_rank_change()
- thanks to @moodymudskipper via #80fmt_symbol_first()
to work correctly with any font, not just monospace fonts.gt_render_reprex()
thanks to @mrcaseb suggestion on Twittergt_plt_bar()
and gt_plt_bar_pct()
- #86gt_plt_bullet()
- #87gt_plt_summary()
- Requestgt_plt_bar_pct()
- thanks to @andreweatherman and PRgt
v0.8.0palette_col
argument to gt_plt_bullet()
to accept a named column of palette colors as present in the data. Fixed #72gt_theme_pff()
to use table.font.size
inside tab_options()
rather than tab_style()
. Fixed #74geom_line()
and geom_v/hline()
that were throwing warnings for ggplot2
v3.4.0fmt_pad_num
to align with @mrcaseb implementation https://gist.github.com/mrcaseb/f0f85b48df7957c27c4205cafccbc5a2gt_plt_bar
, gt_pct_bar
, gt_plt_dist
, gt_plt_conf_int
, gt_plt_percentile_dot
, gt_plt_point
, gt_plt_sparkline
, gt_win_loss
)gt_fa_column()
to accept factors with levels not present in the data, ignoring unneeded levels. Thank you to @mikedolanfliss for the suggestion.gt_merge_stack_color()
to create a merge/stack with background color - per @mrcaseb and issue #71gt_alert_icon()
to create a colored circle based on the range of values in the column.roxygen2
to fix HTML documentation issues on CRANgt_img_multi_rows()
courtesy of Ryan Timpe per #63man_get_image_tag()
helper - solves CRAN HTML issues for missing alt-textgt_plt_summary()
and gt_plt_winloss()
gt_fa_column()
get_row_index()
to assist in applying styles to specific rows visuallylast_row_id()
to use get_row_index()
internally.gt_index()
to respect multiple groups - closes Issue #58 - thanks @jmbarbone !tab_style_by_grp()
to respect multiple groupsgt_plt_conf_int()
- closes #52use_paletteer
argument from documentation (inline operation in function) 
to
in fmt_symbol_first()
and fmt_pad_num()
, convert tests to matchgt_img_circle()
gt_theme_pff()
for Pro Football Focus style tables"pff"
palette option to gt_color_box()
gt_merge_stack()
per issue 53gt_plt_conf_int()
- closes #54gt_index()
to internals of gt_merge_stack()
to prevent incorrect arrangement when grouping data - closes issue #55gt_plt_sparkline()
where in some cases inline plots weren't respecting shared limits.gt_merge_stack()
to be 'palette'gt_plt_bullet()
to be 'palette'gt_plt_sparkline()
to be 'palette'colors
argument in gt_win_loss()
to palette
fontawesome::fa()
functions, ie gt_fa_rank_change()
, gt_fa_repeats()
, gt_fa_column()
webshot2::webshot()
over webshot::webshot()
gt_sparkline()
- functions separated into gt_plt_sparkline()
and gt_plt_dist()
gt_plt_summary()
for dates/times.gt_plt_summary()
to include dates/timesuse_paletteer
arg from gt_color_rows()
in favor of a hopefully more user friendly detection of ::
gt_color_rows()
'type' argument to 'pal_type' to prevent an edge-case where a column named type conflicts with the paletteer
"type" argument per issue #50gt_plt_summary()
function, as inspired by the Observable/SummaryTable function.gt_sparkline()
will be removed soon now that bstfun
/gtsummary
are no longer depending on it. gt_plt_dist()
and gt_plt_sparkline()
will be the new preferred and enhanced versions of gt_sparkline()
.gt_plt_summary()
webshot2
as a dependency now that it's on CRAN!scales::scales_label_si()
in favor of scales::label_number(scale_cut = cut_scale_short())
as the previous function was deprecated. Thanks to @mrcaseb for pointing out in Issue 48{gt}
with attributionBring in webshot2
as a remote dependency suggest and minor changes to clean up some R checks, thanks to a PR from the great Daniel Sjoberg.
Correct an internal bug in gt_plt_dist()
which was failing for plotting integers.
webshot
for webshot2
to enhance capabilities. Note that webshot2
is GitHub only, install via: remotes::install_github("rstudio/webshot2")
. This solves issue #42.gt_theme_guardian()
to work with zero-length tables per Issue 41NEWS.md
file to track changes to the package.Use gt_index
to prevent incorrect ordering of rows with gt_plt_bar_pct()
per StackOverflow report
Remove keep_column
argument for gt_plt_bullet
, this functionality is able to be achieved with gt_duplicate_column()
upstream. This also solves naming confusion as seen in issue 37