Skip to content

Commit ff131d7

Browse files
authored
Merge pull request #2092 from rstudio/v1.2.0-rc
Release gt v1.2.0
2 parents 634cd6b + c54eda3 commit ff131d7

File tree

2 files changed

+29
-8
lines changed

2 files changed

+29
-8
lines changed

DESCRIPTION

Lines changed: 2 additions & 2 deletions
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: 1.1.0.9000
4+
Version: 1.2.0
55
Authors@R: c(
66
person("Richard", "Iannone", , "rich@posit.co", role = c("aut", "cre"),
77
comment = c(ORCID = "0000-0003-3925-190X")),
@@ -32,7 +32,7 @@ License: MIT + file LICENSE
3232
URL: https://gt.rstudio.com, https://github.com/rstudio/gt
3333
BugReports: https://github.com/rstudio/gt/issues
3434
Depends:
35-
R (>= 3.6.0)
35+
R (>= 4.1.0)
3636
Imports:
3737
base64enc (>= 0.1-3),
3838
bigD (>= 0.2),

NEWS.md

Lines changed: 27 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,36 @@
1-
# gt (development version)
1+
# gt 1.2.0
22

3-
* The new `fmt_number_si()` function format numeric values with SI prefixes and an optional unit (could be obtained from a separate column), automatically selecting the appropriate prefix to keep the mantissa in a readable range (#1999). (#2060)
3+
* The new `fmt_number_si()` function format numeric values with SI prefixes and an optional unit (could be obtained from a separate column), automatically selecting the appropriate prefix to keep the mantissa in a readable range (#1999). (#2060)
4+
5+
* Added the `summary_columns()` function to enable horizontal, row-wise aggregation (#382). (#2067)
6+
7+
* Added the `min_sep_threshold` argument to numeric formatting functions; this controls the minimum number of digits required in the integer part of a number for grouping separators to be applied (#908). (#2064)
48

59
* Added the `omit_na_group` argument to the `gt()` function; when `TRUE`, rows with `NA` values in the `groupname_col` be excluded from row group assignment (the default of `FALSE` preserves the old behavior) (#1215). (#2062)
610

7-
* Update latex Unicode conversions to be optional (default to TRUE) as well as make them work in-line (@thebioengineer, #2037, #2041)
11+
* Ensure that the `stub()` helper works with tables having a multi-column stub (#2066). (#2069)
12+
13+
* Fixed issue where loading in the Unicode conversion file (for LaTeX output tables) fails (#2048). (#2049)
14+
15+
* Added fix to make LaTeX Unicode conversion operations optional (as well as make them work in-line) (#2037, #2041). (@thebioengineer, #2042)
16+
17+
* Fixed a bug where LaTeX spanner widths were based on incorrect column widths (#1922, #2016). (@shannonhaughton, #2079)
18+
19+
* The `fmt_scientific()` function should no longer error when formatting `Inf`/`-Inf` values in a table column (#1516). (#2058)
20+
21+
* Allow for horizontal alignment within cells of LaTeX output tables (#2001). (@thebioengineer, #2075)
22+
23+
* Added functionality for handling tables with a multicolumn stub in the Word output format. (@romainfrancois, #2074, #2086)
24+
25+
* We now correctly handle tables with a multicolumn stub in the RTF output format (#2045). (#2061)
26+
27+
* Added better support for LaTeX tables with a multicolumn stub (#2044). (#2051)
828

9-
* Fix bug where latex spanner widths were based on incorrect column widths (@shannonhaughton, #2016, #1922)
29+
* The `countrypops` dataset has been updated to include population values up to 2024. (#2057)
1030

11-
* Update latex to allow for horizontal alignment within cells (@thebioengineer, #2001)
31+
* GitHub Actions workflows were updated. (@olivroy, #2077)
1232

33+
* Refactored pipe use, moving many pipes in the codebase from `%>%` to `|>`. (#2056)
1334

1435
# gt 1.1.0
1536

@@ -47,7 +68,7 @@
4768

4869
* The `metro` and `films` datasets have been updated. (#2026, #2027)
4970

50-
* Add option to control the order of footnotes (@shannonhaughton, #2023)
71+
* Add option to control the order of footnotes (#2023). (@shannonhaughton, #2036)
5172

5273
# gt 1.0.0
5374

0 commit comments

Comments
 (0)