forked from davidgohel/flextable
-
Notifications
You must be signed in to change notification settings - Fork 0
/
NEWS
298 lines (179 loc) · 7.83 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
# flextable 0.5.10
## new features
* flextable captions in Word can be auto-numbered and bookmarked
* function `footnote` is now able to add inline footnotes
* support for bookdown references
* new as_flextable methods for lm and glm objects and xtable (replacing `xtable_to_flextable()`)
* new sugar function `continuous_summary()`: summarize continuous columns in a flextable
* function `autofit` can now use only some parts of the tables. This allows
for example to no longer have gigantic columns by not taking into account the "footer" part that is often composed of long texts.
* bookdown and xaringan HTML outputs should now be rendered as expected - table css has been overwritten.
* new function `set_table_properties` lets adapt flextable size as "100%", "50%" of the available width
for Word and HTML.
## Changes
* manual pages have been improved and illustrations are added
* `bg()` and `color()` now accept functions (i.e. `scales::col_numeric()`)
# flextable 0.5.9
## Changes
* defunct of `display()`
* rename arg 'formater' to 'formatter' of `as_chunk` (#152)
## Internal
* drop `officer::fp_sign` importation that was not used anymore so that officer can
drop digest dependency.
# flextable 0.5.8
## Changes
* deprecation of `display()`.
* defunct of `ph_with_flextable_at()`
* function `docx_value()` has new arguments `ft.align`, `ft.split` and `tab.cap.style`
* function `htmltools_value()` has a new argument `ft.align`
## new features
* new function `flextable_html_dependency` to get flextable htmltools::htmlDependancy. This is
necessary to output flextables in html R Markdown documents from loop or other nested operations.
## Issues
* fix issue #188, add_rows error that came with version 0.5.7
# flextable 0.5.7
## new features
* new suger functions `save_as_docx`, `save_as_pptx` that lets users export flextable objects
to PowerPoint or Word documents.
## Changes
* merge_v can use hidden columns.
* new function `hrule` to control how row heights should be
understood (at least, auto, exact)
* Allow unused values in set_header_labels - PR #172 from DanChaltiel
* deprecation of ph_with_flextable_at, ph_with_flextable will be deprected in the next release
## Issues
* fix issue #180, background color of runs transparency issue with googlesheet
* fix issue #157, issue with rotate and HTML output
# flextable 0.5.6
## Issues
* force officer >= 0.3.6
* fix rounding issue for css borders
# flextable 0.5.6
## new features
* new function `lollipop` that lets users add mini lollipop chart to flextable
(kindly provided by github.com/pteridin)
* function `proc_freq` got a new argument `weight` to enable weighting of results.
* function `as_flextable.grouped_data()` has now an argument `hide_grouplabel` to
let not print the group names.
## Issues
* let footnotes symbols be affected by style functions (related to #137)
* enable usage of 'webshot2' instead of 'webshot'. It enable better screenshots. It
can be specified with argument `webshot` in function `save_as_image` or with
chunk option `webshot="webshot2"`.
# flextable 0.5.5
## new features
* new function `docx_value` to let display flextables from non top level
calls inside R Markdown document.
* ph_with method for flextable object. This enable `ph_location*` usage
and make placement into slides easier.
* new function `fit_to_width` to fit a flextable to a maximum width
* `set_caption` can now be used with R Markdown for Word document and caption
style can be defined with chunk option `tab.cap.style`.
## Issues
* fix issue with `save_as_image` with R for Windows
# flextable 0.5.3
## new features
* new functions to render flextable in plot (see `plot`), as an image (see `save_as_image`)
and raster for ggplot2 (see `as_raster`).
* new function `footnote` to ease footnotes management
* colformat functions are suporting i argument now for rows selection.
# flextable 0.5.2
## new features
* new function `valign` to align vertically paragraphs in cell
* new function `proc_freq` that mimic SAS proc freq provided by Titouan Robert.
* new function `linerange` to produce mini lineranges.
## Issues
* fix issue with `set_footer_df`
# flextable 0.5.1
## Issues
* fix issue with font colors in powerpoint
* fix issues with colors for Windows RStudio viewer
## new features
* new themes functions `theme_alafoli()` and `theme_vader()`
* new functions `align_text_col()` and `align_nottext_col()` to align
columns by data type
* new functions `merge_h_range()` to merge a set of columns row by row
* new functions `fix_border_issues()` fix issues with borders when cells are merged
* new functions `add_header_row()`, `add_footer_row()`, `add_header_lines()`
and `add_footer_lines()` to add easily data in header or footer.
* new generic function `as_flextable()` to let develop new flextable functions
* new function `as_grouped_data()` and its method `as_flextable()` to
create row titles to separate data in a flextable.
# flextable 0.5.0
## Improvement
* new arguments `values` for functions `set_header_labels` and `set_formatter`
* styles functions now support injection of more than a single value
* this version a big refactoring and got rid of R6
## new features
* new function `compose` that will replace `display`
* new function `set_caption` only available for html output
# flextable 0.4.7
## new features
* `knit_print()` can be used with rmarkdown when rendering to PowerPoint.
## Issues
* fix issue with `regulartable` and logical columns
# flextable 0.4.6
## new features
* a new helper function `body_replace_flextable_at_bkm` to
replace a bookmarked paragraph by a flextable.
* new functions `colformat_*` to make content formatting easier.
It also deals with NA.
## Improvement
* Documentation `format.flextable` method so that users can create
their components.
* new knitr chunk options `ft.align` to align tables in
`rmarkdown::word_document` and `ft.split` to activate Word
option 'Allow row to break across pages'.
## Issues
* fix issue (unordered and duplicated chunk of text) in function `display()`
# flextable 0.4.5
## Improvement
* flextable will not be split across rows at a page break in Word documents.
## Issues
* fix border rendering with `vline()`
* empty data.frame are no more generating an error
# flextable 0.4.4
## new features
* Soft return `\n` is now supported. Function `autofit` and `dim_pretty` do not
support soft returns and may return wrong results (\n will be considered as "").
* format function for flextable objects.
## Issues
* fix border rendering with `border_outer()`
# flextable 0.4.3
## new features
* new functions: `hyperlink_text()` to be used with `display`, `font()`
* new functions `hline*()` and `vline*()` and many new helper functions
to be used instead of borders.
## Improvement
* manuals have been refactored
## Issues
* fix display issue when a cell was containing NA
# flextable 0.4.2
## new features
* new function `xtable_to_flextable()` that is returning
a flextable from an xtable object.
* function `htmltools_value()` is exported for shiny applications.
# flextable 0.4.1
## new features
* flextables have now a footer part
# flextable 0.4.0
## new features
* new function `knit_print()` to render flextable in rmarkdown.
## Changes
* function tabwid() is deprecated in favor of a knit_print implementation.
* list of dependencies has been reduced.
# flextable 0.3
## new features
* new function `regulartable`, faster and simpler than `flextable`
## Issues
* characters <, > and & are now html encoded
* fix columns widths when output format is HTML
# flextable 0.2
## new features
* new function `ph_with_flextable_at` to add a flextable at any position in a slide.
* new function `merge_at` is providing a general way of merging cells.
* new theme function: `theme_box()`
## Changes
* function display() now works with a mustache template
## Issues
* fix fontsize when part == "all"