-
Notifications
You must be signed in to change notification settings - Fork 78
/
NEWS
64 lines (44 loc) · 2.32 KB
/
NEWS
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
# Version 0.2.1
**Closed issues:**
- Percent does not work on area() function (#75)
- Inconsistent lengths of formatted string on zero-length vectors (#115)
- Error: 'what' must be a function or character string (#116)
- Retire Travis and AppVeyor (#140)
**Merged pull requests:**
- Add GHA badge (#142)
- Change links to HTTPS (#141)
- Set up GitHub Pages (#137)
- Add .github to .Rbuildignore (#138)
- Install GitHub Actions workflows (#135)
- Avoid caching on AppVeyor (#134)
# Version 0.2
## Breaking changes
* `format_table` now renders input data frame to `html` by default instead of `markdown`.
* `formattable.matrix` is removed to support matrix/array formatting. Explicitly convert matrix to data frame if you want to create a formattable data frame.
* `format_table` and `formattable.data.frame` no longer accepts `check.rows` and `check.names` arguments. `row.names` accepts a logical value and is directly passed to `knitr::kable`.
## New features
* `formattable` and built-in formatter functions (e.g. `percent`) now work with matrix and array objects.
* Area formatting is now supported (discussed in #36, #40) with `area(row, col) ~ formatter`. See examples via `?formattable.data.frame`.
* Now a formattable data frame can be converted to `DT::datatable` via `formattable::as.datatable`.
* `FALSE` formatters can be used to hide columns of a data frame.
## Enhancements
* The rendered HTML table now supports customizable CSS styling via `table_attr` argument. (#57)
* `color_bar` now uses `proportion` by default as the rescaling function.
* `color_bar` now uses `unicode-bidi: plaintext` CSS style to avoid undesired
presenation of symbols produced by `direction: rtl`. (#118)
## Bug fixes
* Fixes an encoding problem rendering formattable data frame. (#30)
* Fixes the size and alignment issues in color bar. (#49)
* `format.formattable` now preserves the names of input vector. (#56)
# Version 0.1.7
## Breaking changes
* `color_bar` is now broken into two versions using different transform functions:
* `normalize_bar` uses `normalize`, the same as `color_bar` in previous versions
* `proportion_bar` uses newly introduced `proportion` as `x / max(abs(x))` to
create bars of proportional width. (#42, #49)
## Bug fixes
* Fix: named vectors lose their names (#56)
# Version 0.1.6
* Fix #43
# Version 0.1.5
* Released to CRAN