Skip to content

Commit 2e75d15

Browse files
authored
Merge pull request #1903 from rstudio/v0.11.1-rc
Release gt v0.11.1
2 parents b75dc29 + a22a099 commit 2e75d15

File tree

2 files changed

+54
-53
lines changed

2 files changed

+54
-53
lines changed

DESCRIPTION

+17-17
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Type: Package
22
Package: gt
33
Title: Easily Create Presentation-Ready Display Tables
4-
Version: 0.11.0.9000
4+
Version: 0.11.1
55
Authors@R: c(
66
person("Richard", "Iannone", , "[email protected]", role = c("aut", "cre"),
77
comment = c(ORCID = "0000-0003-3925-190X")),
@@ -35,23 +35,23 @@ Imports:
3535
base64enc (>= 0.1-3),
3636
bigD (>= 0.2),
3737
bitops (>= 1.0-7),
38-
cli (>= 3.6.0),
39-
commonmark (>= 1.8.1),
40-
dplyr (>= 1.1.0),
41-
fs (>= 1.6.1),
42-
glue (>= 1.6.2),
43-
htmltools (>= 0.5.4),
44-
htmlwidgets (>= 1.6.1),
38+
cli (>= 3.6.3),
39+
commonmark (>= 1.9.1),
40+
dplyr (>= 1.1.4),
41+
fs (>= 1.6.4),
42+
glue (>= 1.8.0),
43+
htmltools (>= 0.5.8.1),
44+
htmlwidgets (>= 1.6.4),
4545
juicyjuice (>= 0.1.0),
46-
magrittr (>= 2.0.2),
47-
markdown (>= 1.5),
48-
reactable (>= 0.4.3),
49-
rlang (>= 1.1.0),
50-
sass (>= 0.4.5),
51-
scales (>= 1.2.1),
52-
tidyselect (>= 1.2.0),
46+
magrittr (>= 2.0.3),
47+
markdown (>= 1.13),
48+
reactable (>= 0.4.4),
49+
rlang (>= 1.1.4),
50+
sass (>= 0.4.9),
51+
scales (>= 1.3.0),
52+
tidyselect (>= 1.2.1),
5353
vctrs,
54-
xml2 (>= 1.3.3)
54+
xml2 (>= 1.3.6)
5555
Suggests:
5656
digest (>= 0.6.31),
5757
fontawesome (>= 0.5.2),
@@ -67,7 +67,7 @@ Suggests:
6767
rmarkdown (>= 2.20),
6868
rsvg,
6969
rvest,
70-
shiny (>= 1.7.4),
70+
shiny (>= 1.9.1),
7171
testthat (>= 3.1.9),
7272
tidyr,
7373
webshot2 (>= 0.1.0),

NEWS.md

+37-36
Original file line numberDiff line numberDiff line change
@@ -1,81 +1,82 @@
1-
# gt (development version)
1+
# gt 0.11.1
22

33
## Breaking changes
44

55
* The `extract_body()` function now, by default, will not display columns that have been hidden (e.g., by `cols_hide()` or `cols_merge*()`); the previous behavior can be restored by using `incl_hidden_cols = TRUE`.
66

7-
## New features
7+
## Improvements to the LaTeX output format
88

9-
* Creating a caption with `tab_caption()` will now be preserved in Latex output with `as_latex()`. Cross-referencing a table using the internal cross-referencing system of **bookdown** is now enabled for PDF and HTML outputs (for HTML, set `options("htmltools.preserve.raw" = FALSE)`). Quarto users should use the `tbl-cap` and `label` cell options.
9+
* PDF output now defaults to a full-width floating environment using `tabular*`. Float position can be controlled by the `latex.tbl.pos` argument in `tab_options`. Quarto users can alternatively use the `tbl-pos` argument to control positioning. To use a `longtable` environment instead, use `tab_option(latex.use_longtable = TRUE)`. (@AronGullickson, #1588)
1010

11-
* PDF output now defaults to a full-width floating environment using `tabular*` (@AronGullickson, #1588). Float position can be controlled by the `latex.tbl.pos` argument in `tab_options`. Quarto users can alternatively use the `tbl-pos` argument to control positioning. To use a `longtable` environment instead, use `tab_option(latex.use_longtable = TRUE)`.
11+
* Creating a caption with `tab_caption()` will now be preserved in LaTeX output with `as_latex()`. Cross-referencing a table using the internal cross-referencing system of **bookdown** is now enabled for PDF and HTML outputs (for HTML, set `options("htmltools.preserve.raw" = FALSE)`). Quarto users should use the `tbl-cap` and `label` cell options. (@nielsbock, #1800)
1212

13-
* New arguments have been added to `extract_body()` to better control which columns will be present in the returned data (#1875). (#1889)
13+
* Improved the centering of the stubhead label in Latex when `row_group_as_column = TRUE` and the width of the row name column is specified. (@kbrevoort, #1804)
14+
15+
* LaTeX now correctly renders if text size is changed (#1885). (@olivroy, #1899)
1416

15-
* The `locale` argument of `gt()` now defaults to `getOption("gt.locale")` if set (#1894).
17+
* Fixed a bug that caused an error in LaTeX when (1) `row_group_as_column = TRUE`, (2) the row groups were specified using `tab_row_group()`, and (3) the user specified a width for the row label column. (@kbrevoort, #1804)
18+
19+
* Fixed an issue where column widths weren't set properly using `col_widths()` for LaTeX output (#1837). (@snhansen, #1867)
1620

1721
## Interactive table support
1822

1923
* Interactive tables will show no border if `opt_table_lines(extent = "none")` is specified (#1307).
2024

21-
* Interactive tables now respect more styling options.
22-
23-
* `column_labels.background.color`, `row_group.background.color`, `row_group.font.weight`, `table_body.hlines.style`,
24-
`table.font.weight`, `table.font.size`, `stub.font.weight` (#1693).
25+
* Interactive tables now respect more styling options, namely: `column_labels.background.color`, `row_group.background.color`, `row_group.font.weight`, `table_body.hlines.style`, `table.font.weight`, `table.font.size`, and `stub.font.weight`. (#1693)
2526

26-
* `opt_interactive()` now works when columns are merged with `cols_merge()` (@olivroy, #1785).
27+
* `opt_interactive()` now works when columns are merged with `cols_merge()`. (@olivroy, #1785)
2728

28-
* `opt_interactive()` now works when columns are substituted with `sub_*()` (@olivroy, #1759).
29+
* `opt_interactive()` now works when columns are substituted with `sub_*()`. (@olivroy, #1759)
2930

3031
* More support for `cells_stubhead()` styling and footnotes in interactive tables.
3132

32-
## Bug fixes
33+
## Minor improvements and bug fixes
3334

34-
* Fixed an issue where column widths weren't set properly using `col_widths()` for LaTeX output. (#1837)
35+
* New arguments have been added to `extract_body()` to better control which columns will be present in the returned data (#1875). (#1889)
3536

36-
* Improved error messages for the `text_transform()` function if `locations` couldn't be resolved. (@olivroy, #1774)
37+
* The `locale` argument of `gt()` now defaults to `getOption("gt.locale")` if set. (#1894)
3738

38-
* `tab_row_group()` gives a more precise error message when `rows` can't be resolved correctly (#1535). (@olivroy, #1770)
39+
* The optional argument `levels` was added to `cells_column_spanners()` to constrain targeting of column spanners by their level. (@obsaditelnost, #1858)
3940

40-
* Fixed an issue where `md("")` would fail in Quarto. (@olivroy, #1769)
4141

42-
* Fixed a bug in using `pct()` column widths with `as_gtable()` (@teunbrand, #1771)
4342

44-
* Fixed a bug where `gt(row_group_as_column = TRUE)` would create the wrong layout with `as_gtable()` when all groups are unique (@olivroy, #1803).
43+
* Fixed a bug in using `pct()` column widths with `as_gtable()` (#1771). (@teunbrand, #1776)
4544

46-
* grid output has been improved. Namely, showing currency symbols now works (@olivroy, #1788).
45+
* Fixed a bug where `gt(row_group_as_column = TRUE)` would create the wrong layout with `as_gtable()` when all groups are unique. (@olivroy, #1803)
4746

48-
* `data_color()` no longer errors when a tidyselect selection is empty (like `fmt_*()` functions) (@olivroy, #1665).
47+
* Showing currency symbols in grid output now works. (@olivroy, #1788)
4948

50-
* Fixed a bugs that caused an error in Latex when `row_group_as_column = TRUE`, the row groups were specified using the `tab_row_group`, and the user specified a width for the row name columns (@kbrevoort, #1804).
49+
* `data_color()` no longer errors when a tidyselect selection is empty (like `fmt_*()` functions) (#1665). (@olivroy, #1795)
5150

52-
* Improve the centering of the stubhead label in Latex when `row_group_as_column = TRUE` and the width of the row name column is specified (@kbrevoort, #1804).
51+
* Fixed an issue when using `text_case_match(.replace = "all", .locations = cells_column_spanners())`. (@olivroy, #1823)
5352

54-
* Fixed an issue with `text_case_match(.replace = "all", .locations = cells_column_spanners())` (@olivroy, #1823).
53+
* Improved performance during footnote rendering. (@olivroy, #1818)
5554

56-
* Performance improvement for footnote rendering (@olivroy, #1818).
55+
* Improved footnote rendering in Quarto with `fmt_markdown()` (#1773). (@olivroy, #1860)
5756

58-
* `tab_footnote()` now correctly adds footnote marks in the `cells_stub_summary()` and `cells_stub_grand_summary()` (@olivroy, #1832).
57+
* Fixed an issue where `md("")` would fail in Quarto (#1769). (@olivroy, #1772)
5958

60-
* Fixed an issue where `tab_spanner_delim()` would fail to resolve a duplicate id (@olivroy, #1821).
59+
* Fixed a bug where spanners didn't render correctly in Quarto (#1839). (#1856)
6160

62-
* Fixed an issue with multiple `text_replace()` calls would produce bad result with `cells_column_labels()` (@olivroy, #1824).
61+
* `vec_fmt_markdown()` works correctly inside Quarto again (#1840). (@olivroy, #1841)
6362

64-
* `tidyselect::where()`, `tidyselect::all_of()`, `tidyselect::any_of()` are now re-exported by gt.
63+
* Fixed an issue where `tab_spanner_delim()` would fail to resolve a duplicate ID value. (@olivroy, #1821)
6564

66-
* `vec_fmt_markdown()` works correctly inside Quarto again (@olivroy, #1840).
65+
* Fixed an issue with multiple `text_replace()` calls would produce bad results with `cells_column_labels()`. (@olivroy, #1824)
6766

68-
* Fixed a bug where spanners didn't render correctly in Quarto (#1839).
67+
* `cols_add()` works correctly in more cases. (#1893)
6968

70-
* Improved footnote rendering in Quarto with `fmt_markdown()` (@olivroy, #1773)
69+
* `tab_footnote()` now correctly adds footnote marks in the `cells_stub_summary()` and `cells_stub_grand_summary()` locations (#1832). (@olivroy, #1833)
7170

72-
* Fixed an issue where `md()` and `fmt_markdown()` would render factors as their numeric levels rather than their text labels (@rossellhayes, #1883).
71+
* `tidyselect::where()`, `tidyselect::all_of()`, and `tidyselect::any_of()` are now re-exported by gt. (#1830)
7372

74-
* `vec_fmt_*()` (and incidentally `cols_nanoplot()`) should be faster now (@olivroy, #1888, #1891, #1896).
73+
* Fixed an issue where `md()` and `fmt_markdown()` would render factors as their numeric levels rather than their text labels (#1882). (@rossellhayes, #1883)
7574

76-
* `cols_add()` works in more cases (#1893).
75+
* `vec_fmt_*()` (and incidentally `cols_nanoplot()`) should be faster now. (@olivroy, #1888, #1891, #1896, #1901)
7776

78-
* LaTeX now correctly renders if text size is changed (@olivroy, #1885).
77+
* Improved error messages for the `text_transform()` function if `locations` couldn't be resolved. (@olivroy, #1774)
78+
79+
* `tab_row_group()` gives a more precise error message when `rows` can't be resolved correctly (#1535). (@olivroy, #1770)
7980

8081
# gt 0.11.0
8182

0 commit comments

Comments
 (0)