Debian Codegraph @

tests/testthat/_snaps/tbl-format-setup.md

raw symbols SCIP
1 # output test
2
3 Code
4 options(width = 100)
5 tbl_format_setup(x, width = 4)
6 Output
7 <pillar_tbl_format_setup>
8 <tbl_format_header(setup)>
9 # A
10 # data
11 # frame:
12 # 3
13 # x
14 # 3
15 <tbl_format_body(setup)>
16 <tbl_format_footer(setup)>
17 # i 3 more variables: column_zero_zero <dbl>, `col 01` <tbl[,3]>, `col 05` <ord>
18 Code
19 tbl_format_setup(x, width = 5)
20 Output
21 <pillar_tbl_format_setup>
22 <tbl_format_header(setup)>
23 # A
24 # data
25 # frame:
26 # 3
27 # x
28 # 3
29 <tbl_format_body(setup)>
30 <tbl_format_footer(setup)>
31 # i 3
32 # more
33 # variables:
34 # column_zero_zero <dbl>,
35 # `col 01` <tbl[,3]>,
36 # `col 05` <ord>
37 Code
38 tbl_format_setup(x, width = 6)
39 Output
40 <pillar_tbl_format_setup>
41 <tbl_format_header(setup)>
42 # A
43 # data
44 # frame:
45 # 3
46 # x
47 # 3
48 <tbl_format_body(setup)>
49 <tbl_format_footer(setup)>
50 # i 3
51 # more
52 # variables:
53 # column_zero_zero <dbl>,
54 # `col 01` <tbl[,3]>,
55 # `col 05` <ord>
56 Code
57 tbl_format_setup(x, width = 7)
58 Output
59 <pillar_tbl_format_setup>
60 <tbl_format_header(setup)>
61 # A
62 # data
63 # frame:
64 # 3
65 # x
66 # 3
67 <tbl_format_body(setup)>
68 <tbl_format_footer(setup)>
69 # i 3
70 # more
71 # variables:
72 # column_zero_zero <dbl>,
73 # `col 01` <tbl[,3]>,
74 # `col 05` <ord>
75 Code
76 tbl_format_setup(x, width = 8)
77 Output
78 <pillar_tbl_format_setup>
79 <tbl_format_header(setup)>
80 # A
81 # data
82 # frame:
83 # 3 x
84 # 3
85 <tbl_format_body(setup)>
86 <tbl_format_footer(setup)>
87 # i 3
88 # more
89 # variables:
90 # column_zero_zero <dbl>,
91 # `col 01` <tbl[,3]>,
92 # `col 05` <ord>
93 Code
94 tbl_format_setup(x, width = 9)
95 Output
96 <pillar_tbl_format_setup>
97 <tbl_format_header(setup)>
98 # A data
99 # frame:
100 # 3 x
101 # 3
102 <tbl_format_body(setup)>
103 <tbl_format_footer(setup)>
104 # i 3
105 # more
106 # variables:
107 # column_zero_zero <dbl>,
108 # `col 01` <tbl[,3]>,
109 # `col 05` <ord>
110 Code
111 tbl_format_setup(x, width = 10)
112 Output
113 <pillar_tbl_format_setup>
114 <tbl_format_header(setup)>
115 # A data
116 # frame:
117 # 3 x 3
118 <tbl_format_body(setup)>
119 <tbl_format_footer(setup)>
120 # i 3
121 # more
122 # variables:
123 # column_zero_zero <dbl>,
124 # `col 01` <tbl[,3]>,
125 # `col 05` <ord>
126 Code
127 tbl_format_setup(x, width = 11)
128 Output
129 <pillar_tbl_format_setup>
130 <tbl_format_header(setup)>
131 # A data
132 # frame:
133 # 3 x 3
134 <tbl_format_body(setup)>
135 <tbl_format_footer(setup)>
136 # i 3 more
137 # variables:
138 # column_zero_zero <dbl>,
139 # `col 01` <tbl[,3]>,
140 # `col 05` <ord>
141 Code
142 tbl_format_setup(x, width = 12)
143 Output
144 <pillar_tbl_format_setup>
145 <tbl_format_header(setup)>
146 # A data
147 # frame:
148 # 3 x 3
149 <tbl_format_body(setup)>
150 <tbl_format_footer(setup)>
151 # i 3 more
152 # variables:
153 # column_zero_zero <dbl>,
154 # `col 01` <tbl[,3]>,
155 # `col 05` <ord>
156 Code
157 tbl_format_setup(x, width = 13)
158 Output
159 <pillar_tbl_format_setup>
160 <tbl_format_header(setup)>
161 # A data
162 # frame: 3
163 # x 3
164 <tbl_format_body(setup)>
165 <tbl_format_footer(setup)>
166 # i 3 more
167 # variables:
168 # column_zero_zero <dbl>,
169 # `col 01` <tbl[,3]>,
170 # `col 05` <ord>
171 Code
172 tbl_format_setup(x, width = 14)
173 Output
174 <pillar_tbl_format_setup>
175 <tbl_format_header(setup)>
176 # A data
177 # frame: 3
178 # x 3
179 <tbl_format_body(setup)>
180 <tbl_format_footer(setup)>
181 # i 3 more
182 # variables:
183 # column_zero_zero <dbl>,
184 # `col 01` <tbl[,3]>,
185 # `col 05` <ord>
186 Code
187 tbl_format_setup(x, width = 15)
188 Output
189 <pillar_tbl_format_setup>
190 <tbl_format_header(setup)>
191 # A data
192 # frame: 3 x
193 # 3
194 <tbl_format_body(setup)>
195 <tbl_format_footer(setup)>
196 # i 3 more
197 # variables:
198 # column_zero_zero <dbl>,
199 # `col 01` <tbl[,3]>,
200 # `col 05` <ord>
201 Code
202 tbl_format_setup(x, width = 16)
203 Output
204 <pillar_tbl_format_setup>
205 <tbl_format_header(setup)>
206 # A data frame:
207 # 3 x 3
208 <tbl_format_body(setup)>
209 <tbl_format_footer(setup)>
210 # i 3 more
211 # variables:
212 # column_zero_zero <dbl>,
213 # `col 01` <tbl[,3]>,
214 # `col 05` <ord>
215 Code
216 tbl_format_setup(x, width = 17)
217 Output
218 <pillar_tbl_format_setup>
219 <tbl_format_header(setup)>
220 # A data frame:
221 # 3 x 3
222 <tbl_format_body(setup)>
223 <tbl_format_footer(setup)>
224 # i 3 more
225 # variables:
226 # column_zero_zero <dbl>,
227 # `col 01` <tbl[,3]>,
228 # `col 05` <ord>
229 Code
230 tbl_format_setup(x, width = 18)
231 Output
232 <pillar_tbl_format_setup>
233 <tbl_format_header(setup)>
234 # A data frame: 3
235 # x 3
236 <tbl_format_body(setup)>
237 column_zero_zero
238 <dbl>
239 1 1.23
240 2 2.23
241 3 3.23
242 <tbl_format_footer(setup)>
243 # i 2 more
244 # variables:
245 # `col 01` <tbl[,3]>,
246 # `col 05` <ord>
247 Code
248 tbl_format_setup(x, width = 19)
249 Output
250 <pillar_tbl_format_setup>
251 <tbl_format_header(setup)>
252 # A data frame: 3
253 # x 3
254 <tbl_format_body(setup)>
255 column_zero_zero
256 <dbl>
257 1 1.23
258 2 2.23
259 3 3.23
260 <tbl_format_footer(setup)>
261 # i 2 more
262 # variables:
263 # `col 01` <tbl[,3]>,
264 # `col 05` <ord>
265 Code
266 tbl_format_setup(x, width = 20)
267 Output
268 <pillar_tbl_format_setup>
269 <tbl_format_header(setup)>
270 # A data frame: 3 x
271 # 3
272 <tbl_format_body(setup)>
273 column_zero_zero
274 <dbl>
275 1 1.23
276 2 2.23
277 3 3.23
278 <tbl_format_footer(setup)>
279 # i 2 more
280 # variables:
281 # `col 01` <tbl[,3]>,
282 # `col 05` <ord>
283 Code
284 tbl_format_setup(x, width = 21)
285 Output
286 <pillar_tbl_format_setup>
287 <tbl_format_header(setup)>
288 # A data frame: 3 x
289 # 3
290 <tbl_format_body(setup)>
291 column_zero_zero
292 <dbl>
293 1 1.23
294 2 2.23
295 3 3.23
296 <tbl_format_footer(setup)>
297 # i 2 more
298 # variables:
299 # `col 01` <tbl[,3]>,
300 # `col 05` <ord>
301 Code
302 tbl_format_setup(x, width = 22)
303 Output
304 <pillar_tbl_format_setup>
305 <tbl_format_header(setup)>
306 # A data frame: 3 x 3
307 <tbl_format_body(setup)>
308 column_zero_zero
309 <dbl>
310 1 1.23
311 2 2.23
312 3 3.23
313 <tbl_format_footer(setup)>
314 # i 2 more variables:
315 # `col 01` <tbl[,3]>,
316 # `col 05` <ord>
317 Code
318 tbl_format_setup(x, width = 23)
319 Output
320 <pillar_tbl_format_setup>
321 <tbl_format_header(setup)>
322 # A data frame: 3 x 3
323 <tbl_format_body(setup)>
324 column_zero_zero
325 <dbl>
326 1 1.23
327 2 2.23
328 3 3.23
329 <tbl_format_footer(setup)>
330 # i 2 more variables:
331 # `col 01` <tbl[,3]>,
332 # `col 05` <ord>
333 Code
334 tbl_format_setup(x, width = 24)
335 Output
336 <pillar_tbl_format_setup>
337 <tbl_format_header(setup)>
338 # A data frame: 3 x 3
339 <tbl_format_body(setup)>
340 column_zero_zero
341 <dbl>
342 1 1.23
343 2 2.23
344 3 3.23
345 <tbl_format_footer(setup)>
346 # i 2 more variables:
347 # `col 01` <tbl[,3]>,
348 # `col 05` <ord>
349 Code
350 tbl_format_setup(x, width = 25)
351 Output
352 <pillar_tbl_format_setup>
353 <tbl_format_header(setup)>
354 # A data frame: 3 x 3
355 <tbl_format_body(setup)>
356 column_zero_zero
357 <dbl>
358 1 1.23
359 2 2.23
360 3 3.23
361 <tbl_format_footer(setup)>
362 # i 2 more variables:
363 # `col 01` <tbl[,3]>,
364 # `col 05` <ord>
365 Code
366 tbl_format_setup(x, width = 26)
367 Output
368 <pillar_tbl_format_setup>
369 <tbl_format_header(setup)>
370 # A data frame: 3 x 3
371 <tbl_format_body(setup)>
372 column_zero_zero
373 <dbl>
374 1 1.23
375 2 2.23
376 3 3.23
377 <tbl_format_footer(setup)>
378 # i 2 more variables:
379 # `col 01` <tbl[,3]>,
380 # `col 05` <ord>
381 Code
382 tbl_format_setup(x, width = 27)
383 Output
384 <pillar_tbl_format_setup>
385 <tbl_format_header(setup)>
386 # A data frame: 3 x 3
387 <tbl_format_body(setup)>
388 column_zero_zero
389 <dbl>
390 1 1.23
391 2 2.23
392 3 3.23
393 <tbl_format_footer(setup)>
394 # i 2 more variables:
395 # `col 01` <tbl[,3]>,
396 # `col 05` <ord>
397 Code
398 tbl_format_setup(x, width = 28)
399 Output
400 <pillar_tbl_format_setup>
401 <tbl_format_header(setup)>
402 # A data frame: 3 x 3
403 <tbl_format_body(setup)>
404 column_zero_zero
405 <dbl>
406 1 1.23
407 2 2.23
408 3 3.23
409 <tbl_format_footer(setup)>
410 # i 2 more variables:
411 # `col 01` <tbl[,3]>,
412 # `col 05` <ord>
413 Code
414 tbl_format_setup(x, width = 29)
415 Output
416 <pillar_tbl_format_setup>
417 <tbl_format_header(setup)>
418 # A data frame: 3 x 3
419 <tbl_format_body(setup)>
420 column_zero_zero
421 <dbl>
422 1 1.23
423 2 2.23
424 3 3.23
425 <tbl_format_footer(setup)>
426 # i 2 more variables:
427 # `col 01` <tbl[,3]>,
428 # `col 05` <ord>
429 Code
430 tbl_format_setup(x, width = 30)
431 Output
432 <pillar_tbl_format_setup>
433 <tbl_format_header(setup)>
434 # A data frame: 3 x 3
435 <tbl_format_body(setup)>
436 column_zero_zero
437 <dbl>
438 1 1.23
439 2 2.23
440 3 3.23
441 <tbl_format_footer(setup)>
442 # i 2 more variables:
443 # `col 01` <tbl[,3]>,
444 # `col 05` <ord>
445 Code
446 tbl_format_setup(x, width = 31)
447 Output
448 <pillar_tbl_format_setup>
449 <tbl_format_header(setup)>
450 # A data frame: 3 x 3
451 <tbl_format_body(setup)>
452 column_zero_zero
453 <dbl>
454 1 1.23
455 2 2.23
456 3 3.23
457 <tbl_format_footer(setup)>
458 # i 2 more variables:
459 # `col 01` <tbl[,3]>,
460 # `col 05` <ord>
461 Code
462 tbl_format_setup(x, width = 32)
463 Output
464 <pillar_tbl_format_setup>
465 <tbl_format_header(setup)>
466 # A data frame: 3 x 3
467 <tbl_format_body(setup)>
468 column_zero_zero
469 <dbl>
470 1 1.23
471 2 2.23
472 3 3.23
473 <tbl_format_footer(setup)>
474 # i 2 more variables:
475 # `col 01` <tbl[,3]>,
476 # `col 05` <ord>
477 Code
478 tbl_format_setup(x, width = 33)
479 Output
480 <pillar_tbl_format_setup>
481 <tbl_format_header(setup)>
482 # A data frame: 3 x 3
483 <tbl_format_body(setup)>
484 column_zero_zero
485 <dbl>
486 1 1.23
487 2 2.23
488 3 3.23
489 <tbl_format_footer(setup)>
490 # i 2 more variables:
491 # `col 01` <tbl[,3]>,
492 # `col 05` <ord>
493 Code
494 tbl_format_setup(x, width = 34)
495 Output
496 <pillar_tbl_format_setup>
497 <tbl_format_header(setup)>
498 # A data frame: 3 x 3
499 <tbl_format_body(setup)>
500 column_zero_zero
501 <dbl>
502 1 1.23
503 2 2.23
504 3 3.23
505 <tbl_format_footer(setup)>
506 # i 2 more variables:
507 # `col 01` <tbl[,3]>,
508 # `col 05` <ord>
509 Code
510 tbl_format_setup(x, width = 35)
511 Output
512 <pillar_tbl_format_setup>
513 <tbl_format_header(setup)>
514 # A data frame: 3 x 3
515 <tbl_format_body(setup)>
516 column_zero_zero
517 <dbl>
518 1 1.23
519 2 2.23
520 3 3.23
521 <tbl_format_footer(setup)>
522 # i 2 more variables:
523 # `col 01` <tbl[,3]>,
524 # `col 05` <ord>
525 Code
526 tbl_format_setup(x, width = 36)
527 Output
528 <pillar_tbl_format_setup>
529 <tbl_format_header(setup)>
530 # A data frame: 3 x 3
531 <tbl_format_body(setup)>
532 column_zero_zero `col 01`$`col 02`
533 <dbl> <chr>
534 1 1.23 a
535 2 2.23 b
536 3 3.23 c
537 <tbl_format_footer(setup)>
538 # i 3 more variables:
539 # `col 01`$`col 03` <chr>,
540 # $`col 04` <int[,3]>,
541 # `col 05` <ord>
542 Code
543 tbl_format_setup(x, width = 37)
544 Output
545 <pillar_tbl_format_setup>
546 <tbl_format_header(setup)>
547 # A data frame: 3 x 3
548 <tbl_format_body(setup)>
549 column_zero_zero `col 01`$`col 02`
550 <dbl> <chr>
551 1 1.23 a
552 2 2.23 b
553 3 3.23 c
554 <tbl_format_footer(setup)>
555 # i 3 more variables:
556 # `col 01`$`col 03` <chr>,
557 # $`col 04` <int[,3]>,
558 # `col 05` <ord>
559 Code
560 tbl_format_setup(x, width = 38)
561 Output
562 <pillar_tbl_format_setup>
563 <tbl_format_header(setup)>
564 # A data frame: 3 x 3
565 <tbl_format_body(setup)>
566 column_zero_zero `col 01`$`col 02`
567 <dbl> <chr>
568 1 1.23 a
569 2 2.23 b
570 3 3.23 c
571 <tbl_format_footer(setup)>
572 # i 3 more variables:
573 # `col 01`$`col 03` <chr>,
574 # $`col 04` <int[,3]>,
575 # `col 05` <ord>
576 Code
577 tbl_format_setup(x, width = 39)
578 Output
579 <pillar_tbl_format_setup>
580 <tbl_format_header(setup)>
581 # A data frame: 3 x 3
582 <tbl_format_body(setup)>
583 column_zero_zero `col 01`$`col 02`
584 <dbl> <chr>
585 1 1.23 a
586 2 2.23 b
587 3 3.23 c
588 <tbl_format_footer(setup)>
589 # i 3 more variables:
590 # `col 01`$`col 03` <chr>,
591 # $`col 04` <int[,3]>,
592 # `col 05` <ord>
593 Code
594 tbl_format_setup(x, width = 40)
595 Output
596 <pillar_tbl_format_setup>
597 <tbl_format_header(setup)>
598 # A data frame: 3 x 3
599 <tbl_format_body(setup)>
600 column_zero_zero `col 01`$`col 02`
601 <dbl> <chr>
602 1 1.23 a
603 2 2.23 b
604 3 3.23 c
605 <tbl_format_footer(setup)>
606 # i 3 more variables:
607 # `col 01`$`col 03` <chr>,
608 # $`col 04` <int[,3]>, `col 05` <ord>
609 Code
610 tbl_format_setup(x, width = 41)
611 Output
612 <pillar_tbl_format_setup>
613 <tbl_format_header(setup)>
614 # A data frame: 3 x 3
615 <tbl_format_body(setup)>
616 column_zero_zero `col 01`$`col 02`
617 <dbl> <chr>
618 1 1.23 a
619 2 2.23 b
620 3 3.23 c
621 <tbl_format_footer(setup)>
622 # i 3 more variables:
623 # `col 01`$`col 03` <chr>,
624 # $`col 04` <int[,3]>, `col 05` <ord>
625 Code
626 tbl_format_setup(x, width = 42)
627 Output
628 <pillar_tbl_format_setup>
629 <tbl_format_header(setup)>
630 # A data frame: 3 x 3
631 <tbl_format_body(setup)>
632 column_zero_zero `col 01`$`col 02`
633 <dbl> <chr>
634 1 1.23 a
635 2 2.23 b
636 3 3.23 c
637 <tbl_format_footer(setup)>
638 # i 3 more variables:
639 # `col 01`$`col 03` <chr>,
640 # $`col 04` <int[,3]>, `col 05` <ord>
641 Code
642 tbl_format_setup(x, width = 43)
643 Output
644 <pillar_tbl_format_setup>
645 <tbl_format_header(setup)>
646 # A data frame: 3 x 3
647 <tbl_format_body(setup)>
648 column_zero_zero `col 01`$`col 02`
649 <dbl> <chr>
650 1 1.23 a
651 2 2.23 b
652 3 3.23 c
653 <tbl_format_footer(setup)>
654 # i 3 more variables:
655 # `col 01`$`col 03` <chr>,
656 # $`col 04` <int[,3]>, `col 05` <ord>
657 Code
658 tbl_format_setup(x, width = 44)
659 Output
660 <pillar_tbl_format_setup>
661 <tbl_format_header(setup)>
662 # A data frame: 3 x 3
663 <tbl_format_body(setup)>
664 column_zero_zero `col 01`$`col 02`
665 <dbl> <chr>
666 1 1.23 a
667 2 2.23 b
668 3 3.23 c
669 <tbl_format_footer(setup)>
670 # i 3 more variables:
671 # `col 01`$`col 03` <chr>,
672 # $`col 04` <int[,3]>, `col 05` <ord>
673 Code
674 tbl_format_setup(x, width = 45)
675 Output
676 <pillar_tbl_format_setup>
677 <tbl_format_header(setup)>
678 # A data frame: 3 x 3
679 <tbl_format_body(setup)>
680 column_zero_zero `col 01`$`col 02` `col 05`
681 <dbl> <chr> <ord>
682 1 1.23 a a
683 2 2.23 b b
684 3 3.23 c c
685 <tbl_format_footer(setup)>
686 # i 2 more variables:
687 # `col 01`$`col 03` <chr>,
688 # $`col 04` <int[,3]>
689 Code
690 tbl_format_setup(x, width = 46)
691 Output
692 <pillar_tbl_format_setup>
693 <tbl_format_header(setup)>
694 # A data frame: 3 x 3
695 <tbl_format_body(setup)>
696 column_zero_zero `col 01`$`col 02` `col 05`
697 <dbl> <chr> <ord>
698 1 1.23 a a
699 2 2.23 b b
700 3 3.23 c c
701 <tbl_format_footer(setup)>
702 # i 2 more variables:
703 # `col 01`$`col 03` <chr>,
704 # $`col 04` <int[,3]>
705 Code
706 tbl_format_setup(x, width = 47)
707 Output
708 <pillar_tbl_format_setup>
709 <tbl_format_header(setup)>
710 # A data frame: 3 x 3
711 <tbl_format_body(setup)>
712 column_zero_zero `col 01`$`col 02` `col 05`
713 <dbl> <chr> <ord>
714 1 1.23 a a
715 2 2.23 b b
716 3 3.23 c c
717 <tbl_format_footer(setup)>
718 # i 2 more variables: `col 01`$`col 03` <chr>,
719 # $`col 04` <int[,3]>
720 Code
721 tbl_format_setup(x, width = 48)
722 Output
723 <pillar_tbl_format_setup>
724 <tbl_format_header(setup)>
725 # A data frame: 3 x 3
726 <tbl_format_body(setup)>
727 column_zero_zero `col 01`$`col 02` `col 05`
728 <dbl> <chr> <ord>
729 1 1.23 a a
730 2 2.23 b b
731 3 3.23 c c
732 <tbl_format_footer(setup)>
733 # i 2 more variables: `col 01`$`col 03` <chr>,
734 # $`col 04` <int[,3]>
735 Code
736 tbl_format_setup(x, width = 49)
737 Output
738 <pillar_tbl_format_setup>
739 <tbl_format_header(setup)>
740 # A data frame: 3 x 3
741 <tbl_format_body(setup)>
742 column_zero_zero `col 01`$`col 02` `col 05`
743 <dbl> <chr> <ord>
744 1 1.23 a a
745 2 2.23 b b
746 3 3.23 c c
747 <tbl_format_footer(setup)>
748 # i 2 more variables: `col 01`$`col 03` <chr>,
749 # $`col 04` <int[,3]>
750 Code
751 tbl_format_setup(x, width = 50)
752 Output
753 <pillar_tbl_format_setup>
754 <tbl_format_header(setup)>
755 # A data frame: 3 x 3
756 <tbl_format_body(setup)>
757 column_zero_zero `col 01`$`col 02` `col 05`
758 <dbl> <chr> <ord>
759 1 1.23 a a
760 2 2.23 b b
761 3 3.23 c c
762 <tbl_format_footer(setup)>
763 # i 2 more variables: `col 01`$`col 03` <chr>,
764 # $`col 04` <int[,3]>
765 Code
766 tbl_format_setup(x, width = 51)
767 Output
768 <pillar_tbl_format_setup>
769 <tbl_format_header(setup)>
770 # A data frame: 3 x 3
771 <tbl_format_body(setup)>
772 column_zero_zero `col 01`$`col 02` `col 05`
773 <dbl> <chr> <ord>
774 1 1.23 a a
775 2 2.23 b b
776 3 3.23 c c
777 <tbl_format_footer(setup)>
778 # i 2 more variables: `col 01`$`col 03` <chr>,
779 # $`col 04` <int[,3]>
780 Code
781 tbl_format_setup(x, width = 52)
782 Output
783 <pillar_tbl_format_setup>
784 <tbl_format_header(setup)>
785 # A data frame: 3 x 3
786 <tbl_format_body(setup)>
787 column_zero_zero `col 01`$`col 02` `col 05`
788 <dbl> <chr> <ord>
789 1 1.23 a a
790 2 2.23 b b
791 3 3.23 c c
792 <tbl_format_footer(setup)>
793 # i 2 more variables: `col 01`$`col 03` <chr>,
794 # $`col 04` <int[,3]>
795 Code
796 tbl_format_setup(x, width = 53)
797 Output
798 <pillar_tbl_format_setup>
799 <tbl_format_header(setup)>
800 # A data frame: 3 x 3
801 <tbl_format_body(setup)>
802 column_zero_zero `col 01`$`col 02` `col 05`
803 <dbl> <chr> <ord>
804 1 1.23 a a
805 2 2.23 b b
806 3 3.23 c c
807 <tbl_format_footer(setup)>
808 # i 2 more variables: `col 01`$`col 03` <chr>,
809 # $`col 04` <int[,3]>
810 Code
811 tbl_format_setup(x, width = 54)
812 Output
813 <pillar_tbl_format_setup>
814 <tbl_format_header(setup)>
815 # A data frame: 3 x 3
816 <tbl_format_body(setup)>
817 column_zero_zero `col 01`$`col 02` `col 05`
818 <dbl> <chr> <ord>
819 1 1.23 a a
820 2 2.23 b b
821 3 3.23 c c
822 <tbl_format_footer(setup)>
823 # i 2 more variables: `col 01`$`col 03` <chr>,
824 # $`col 04` <int[,3]>
825 Code
826 tbl_format_setup(x, width = 55)
827 Output
828 <pillar_tbl_format_setup>
829 <tbl_format_header(setup)>
830 # A data frame: 3 x 3
831 <tbl_format_body(setup)>
832 column_zero_zero `col 01`$`col 02` $`col 03` `col 05`
833 <dbl> <chr> <chr> <ord>
834 1 1.23 a A a
835 2 2.23 b B b
836 3 3.23 c C c
837 <tbl_format_footer(setup)>
838 # i 1 more variable: `col 01`$`col 04` <int[,3]>
839 Code
840 tbl_format_setup(x, width = 56)
841 Output
842 <pillar_tbl_format_setup>
843 <tbl_format_header(setup)>
844 # A data frame: 3 x 3
845 <tbl_format_body(setup)>
846 column_zero_zero `col 01`$`col 02` $`col 03` `col 05`
847 <dbl> <chr> <chr> <ord>
848 1 1.23 a A a
849 2 2.23 b B b
850 3 3.23 c C c
851 <tbl_format_footer(setup)>
852 # i 1 more variable: `col 01`$`col 04` <int[,3]>
853 Code
854 tbl_format_setup(x, width = 57)
855 Output
856 <pillar_tbl_format_setup>
857 <tbl_format_header(setup)>
858 # A data frame: 3 x 3
859 <tbl_format_body(setup)>
860 column_zero_zero `col 01`$`col 02` $`col 03` `col 05`
861 <dbl> <chr> <chr> <ord>
862 1 1.23 a A a
863 2 2.23 b B b
864 3 3.23 c C c
865 <tbl_format_footer(setup)>
866 # i 1 more variable: `col 01`$`col 04` <int[,3]>
867 Code
868 tbl_format_setup(x, width = 58)
869 Output
870 <pillar_tbl_format_setup>
871 <tbl_format_header(setup)>
872 # A data frame: 3 x 3
873 <tbl_format_body(setup)>
874 column_zero_zero `col 01`$`col 02` $`col 03` `col 05`
875 <dbl> <chr> <chr> <ord>
876 1 1.23 a A a
877 2 2.23 b B b
878 3 3.23 c C c
879 <tbl_format_footer(setup)>
880 # i 1 more variable: `col 01`$`col 04` <int[,3]>
881 Code
882 tbl_format_setup(x, width = 59)
883 Output
884 <pillar_tbl_format_setup>
885 <tbl_format_header(setup)>
886 # A data frame: 3 x 3
887 <tbl_format_body(setup)>
888 column_zero_zero `col 01`$`col 02` $`col 03` `col 05`
889 <dbl> <chr> <chr> <ord>
890 1 1.23 a A a
891 2 2.23 b B b
892 3 3.23 c C c
893 <tbl_format_footer(setup)>
894 # i 1 more variable: `col 01`$`col 04` <int[,3]>
895 Code
896 tbl_format_setup(x, width = 60)
897 Output
898 <pillar_tbl_format_setup>
899 <tbl_format_header(setup)>
900 # A data frame: 3 x 3
901 <tbl_format_body(setup)>
902 column_zero_zero `col 01`$`col 02` $`col 03` `col 05`
903 <dbl> <chr> <chr> <ord>
904 1 1.23 a A a
905 2 2.23 b B b
906 3 3.23 c C c
907 <tbl_format_footer(setup)>
908 # i 1 more variable: `col 01`$`col 04` <int[,3]>
909 Code
910 tbl_format_setup(x, width = 61)
911 Output
912 <pillar_tbl_format_setup>
913 <tbl_format_header(setup)>
914 # A data frame: 3 x 3
915 <tbl_format_body(setup)>
916 column_zero_zero `col 01`$`col 02` $`col 03` `col 05`
917 <dbl> <chr> <chr> <ord>
918 1 1.23 a A a
919 2 2.23 b B b
920 3 3.23 c C c
921 <tbl_format_footer(setup)>
922 # i 1 more variable: `col 01`$`col 04` <int[,3]>
923 Code
924 tbl_format_setup(x, width = 62)
925 Output
926 <pillar_tbl_format_setup>
927 <tbl_format_header(setup)>
928 # A data frame: 3 x 3
929 <tbl_format_body(setup)>
930 column_zero_zero `col 01`$`col 02` $`col 03` `col 05`
931 <dbl> <chr> <chr> <ord>
932 1 1.23 a A a
933 2 2.23 b B b
934 3 3.23 c C c
935 <tbl_format_footer(setup)>
936 # i 1 more variable: `col 01`$`col 04` <int[,3]>
937 Code
938 tbl_format_setup(x, width = 63)
939 Output
940 <pillar_tbl_format_setup>
941 <tbl_format_header(setup)>
942 # A data frame: 3 x 3
943 <tbl_format_body(setup)>
944 column_zero_zero `col 01`$`col 02` $`col 03` `col 05`
945 <dbl> <chr> <chr> <ord>
946 1 1.23 a A a
947 2 2.23 b B b
948 3 3.23 c C c
949 <tbl_format_footer(setup)>
950 # i 1 more variable: `col 01`$`col 04` <int[,3]>
951 Code
952 tbl_format_setup(x, width = 64)
953 Output
954 <pillar_tbl_format_setup>
955 <tbl_format_header(setup)>
956 # A data frame: 3 x 3
957 <tbl_format_body(setup)>
958 column_zero_zero `col 01`$`col 02` $`col 03` `col 05`
959 <dbl> <chr> <chr> <ord>
960 1 1.23 a A a
961 2 2.23 b B b
962 3 3.23 c C c
963 <tbl_format_footer(setup)>
964 # i 1 more variable: `col 01`$`col 04` <int[,3]>
965 Code
966 tbl_format_setup(x, width = 65)
967 Output
968 <pillar_tbl_format_setup>
969 <tbl_format_header(setup)>
970 # A data frame: 3 x 3
971 <tbl_format_body(setup)>
972 column_zero_zero `col 01`$`col 02` $`col 03` `col 05`
973 <dbl> <chr> <chr> <ord>
974 1 1.23 a A a
975 2 2.23 b B b
976 3 3.23 c C c
977 <tbl_format_footer(setup)>
978 # i 1 more variable: `col 01`$`col 04` <int[,3]>
979 Code
980 tbl_format_setup(x, width = 66)
981 Output
982 <pillar_tbl_format_setup>
983 <tbl_format_header(setup)>
984 # A data frame: 3 x 3
985 <tbl_format_body(setup)>
986 column_zero_zero `col 01`$`col 02` $`col 03` `col 05`
987 <dbl> <chr> <chr> <ord>
988 1 1.23 a A a
989 2 2.23 b B b
990 3 3.23 c C c
991 <tbl_format_footer(setup)>
992 # i 1 more variable: `col 01`$`col 04` <int[,3]>
993 Code
994 tbl_format_setup(x, width = 67)
995 Output
996 <pillar_tbl_format_setup>
997 <tbl_format_header(setup)>
998 # A data frame: 3 x 3
999 <tbl_format_body(setup)>
1000 column_zero_zero `col 01`$`col 02` $`col 03` `col 05`
1001 <dbl> <chr> <chr> <ord>
1002 1 1.23 a A a
1003 2 2.23 b B b
1004 3 3.23 c C c
1005 <tbl_format_footer(setup)>
1006 # i 1 more variable: `col 01`$`col 04` <int[,3]>
1007 Code
1008 tbl_format_setup(x, width = 68)
1009 Output
1010 <pillar_tbl_format_setup>
1011 <tbl_format_header(setup)>
1012 # A data frame: 3 x 3
1013 <tbl_format_body(setup)>
1014 column_zero_zero `col 01`$`col 02` $`col 03` `col 05`
1015 <dbl> <chr> <chr> <ord>
1016 1 1.23 a A a
1017 2 2.23 b B b
1018 3 3.23 c C c
1019 <tbl_format_footer(setup)>
1020 # i 1 more variable: `col 01`$`col 04` <int[,3]>
1021 Code
1022 tbl_format_setup(x, width = 69)
1023 Output
1024 <pillar_tbl_format_setup>
1025 <tbl_format_header(setup)>
1026 # A data frame: 3 x 3
1027 <tbl_format_body(setup)>
1028 column_zero_zero `col 01`$`col 02` $`col 03` `col 05`
1029 <dbl> <chr> <chr> <ord>
1030 1 1.23 a A a
1031 2 2.23 b B b
1032 3 3.23 c C c
1033 <tbl_format_footer(setup)>
1034 # i 1 more variable: `col 01`$`col 04` <int[,3]>
1035 Code
1036 tbl_format_setup(x, width = 70)
1037 Output
1038 <pillar_tbl_format_setup>
1039 <tbl_format_header(setup)>
1040 # A data frame: 3 x 3
1041 <tbl_format_body(setup)>
1042 column_zero_zero `col 01`$`col 02` $`col 03` `col 05`
1043 <dbl> <chr> <chr> <ord>
1044 1 1.23 a A a
1045 2 2.23 b B b
1046 3 3.23 c C c
1047 <tbl_format_footer(setup)>
1048 # i 1 more variable: `col 01`$`col 04` <int[,3]>
1049 Code
1050 tbl_format_setup(x, width = 71)
1051 Output
1052 <pillar_tbl_format_setup>
1053 <tbl_format_header(setup)>
1054 # A data frame: 3 x 3
1055 <tbl_format_body(setup)>
1056 column_zero_zero `col 01`$`col 02` $`col 03` $`col 04`[,"A"] `col 05`
1057 <dbl> <chr> <chr> <int> <ord>
1058 1 1.23 a A 1 a
1059 2 2.23 b B 2 b
1060 3 3.23 c C 3 c
1061 <tbl_format_footer(setup)>
1062 # i 1 more variable: `col 01`$`col 04`[2:3] <int>
1063 Code
1064 tbl_format_setup(x, width = 72)
1065 Output
1066 <pillar_tbl_format_setup>
1067 <tbl_format_header(setup)>
1068 # A data frame: 3 x 3
1069 <tbl_format_body(setup)>
1070 column_zero_zero `col 01`$`col 02` $`col 03` $`col 04`[,"A"] `col 05`
1071 <dbl> <chr> <chr> <int> <ord>
1072 1 1.23 a A 1 a
1073 2 2.23 b B 2 b
1074 3 3.23 c C 3 c
1075 <tbl_format_footer(setup)>
1076 # i 1 more variable: `col 01`$`col 04`[2:3] <int>
1077 Code
1078 tbl_format_setup(x, width = 73)
1079 Output
1080 <pillar_tbl_format_setup>
1081 <tbl_format_header(setup)>
1082 # A data frame: 3 x 3
1083 <tbl_format_body(setup)>
1084 column_zero_zero `col 01`$`col 02` $`col 03` $`col 04`[,"A"] `col 05`
1085 <dbl> <chr> <chr> <int> <ord>
1086 1 1.23 a A 1 a
1087 2 2.23 b B 2 b
1088 3 3.23 c C 3 c
1089 <tbl_format_footer(setup)>
1090 # i 1 more variable: `col 01`$`col 04`[2:3] <int>
1091 Code
1092 tbl_format_setup(x, width = 74)
1093 Output
1094 <pillar_tbl_format_setup>
1095 <tbl_format_header(setup)>
1096 # A data frame: 3 x 3
1097 <tbl_format_body(setup)>
1098 column_zero_zero `col 01`$`col 02` $`col 03` $`col 04`[,"A"] `col 05`
1099 <dbl> <chr> <chr> <int> <ord>
1100 1 1.23 a A 1 a
1101 2 2.23 b B 2 b
1102 3 3.23 c C 3 c
1103 <tbl_format_footer(setup)>
1104 # i 1 more variable: `col 01`$`col 04`[2:3] <int>
1105 Code
1106 tbl_format_setup(x, width = 75)
1107 Output
1108 <pillar_tbl_format_setup>
1109 <tbl_format_header(setup)>
1110 # A data frame: 3 x 3
1111 <tbl_format_body(setup)>
1112 column_zero_zero `col 01`$`col 02` $`col 03` $`col 04`[,"A"] `col 05`
1113 <dbl> <chr> <chr> <int> <ord>
1114 1 1.23 a A 1 a
1115 2 2.23 b B 2 b
1116 3 3.23 c C 3 c
1117 <tbl_format_footer(setup)>
1118 # i 1 more variable: `col 01`$`col 04`[2:3] <int>
1119 Code
1120 tbl_format_setup(x, width = 76)
1121 Output
1122 <pillar_tbl_format_setup>
1123 <tbl_format_header(setup)>
1124 # A data frame: 3 x 3
1125 <tbl_format_body(setup)>
1126 column_zero_zero `col 01`$`col 02` $`col 03` $`col 04`[,"A"] `col 05`
1127 <dbl> <chr> <chr> <int> <ord>
1128 1 1.23 a A 1 a
1129 2 2.23 b B 2 b
1130 3 3.23 c C 3 c
1131 <tbl_format_footer(setup)>
1132 # i 1 more variable: `col 01`$`col 04`[2:3] <int>
1133 Code
1134 tbl_format_setup(x, width = 77)
1135 Output
1136 <pillar_tbl_format_setup>
1137 <tbl_format_header(setup)>
1138 # A data frame: 3 x 3
1139 <tbl_format_body(setup)>
1140 column_zero_zero `col 01`$`col 02` $`col 03` $`col 04`[,"A"] `col 05`
1141 <dbl> <chr> <chr> <int> <ord>
1142 1 1.23 a A 1 a
1143 2 2.23 b B 2 b
1144 3 3.23 c C 3 c
1145 <tbl_format_footer(setup)>
1146 # i 1 more variable: `col 01`$`col 04`[2:3] <int>
1147 Code
1148 tbl_format_setup(x, width = 78)
1149 Output
1150 <pillar_tbl_format_setup>
1151 <tbl_format_header(setup)>
1152 # A data frame: 3 x 3
1153 <tbl_format_body(setup)>
1154 column_zero_zero `col 01`$`col 02` $`col 03` $`col 04`[,"A"] `col 05`
1155 <dbl> <chr> <chr> <int> <ord>
1156 1 1.23 a A 1 a
1157 2 2.23 b B 2 b
1158 3 3.23 c C 3 c
1159 <tbl_format_footer(setup)>
1160 # i 1 more variable: `col 01`$`col 04`[2:3] <int>
1161 Code
1162 tbl_format_setup(x, width = 79)
1163 Output
1164 <pillar_tbl_format_setup>
1165 <tbl_format_header(setup)>
1166 # A data frame: 3 x 3
1167 <tbl_format_body(setup)>
1168 column_zero_zero `col 01`$`col 02` $`col 03` $`col 04`[,"A"] $[,"B"] `col 05`
1169 <dbl> <chr> <chr> <int> <int> <ord>
1170 1 1.23 a A 1 4 a
1171 2 2.23 b B 2 5 b
1172 3 3.23 c C 3 6 c
1173 <tbl_format_footer(setup)>
1174 # i 1 more variable: `col 01`$`col 04`[3] <int>
1175 Code
1176 tbl_format_setup(x, width = 80)
1177 Output
1178 <pillar_tbl_format_setup>
1179 <tbl_format_header(setup)>
1180 # A data frame: 3 x 3
1181 <tbl_format_body(setup)>
1182 column_zero_zero `col 01`$`col 02` $`col 03` $`col 04`[,"A"] $[,"B"] `col 05`
1183 <dbl> <chr> <chr> <int> <int> <ord>
1184 1 1.23 a A 1 4 a
1185 2 2.23 b B 2 5 b
1186 3 3.23 c C 3 6 c
1187 <tbl_format_footer(setup)>
1188 # i 1 more variable: `col 01`$`col 04`[3] <int>
1189 Code
1190 tbl_format_setup(x, width = 81)
1191 Output
1192 <pillar_tbl_format_setup>
1193 <tbl_format_header(setup)>
1194 # A data frame: 3 x 3
1195 <tbl_format_body(setup)>
1196 column_zero_zero `col 01`$`col 02` $`col 03` $`col 04`[,"A"] $[,"B"] `col 05`
1197 <dbl> <chr> <chr> <int> <int> <ord>
1198 1 1.23 a A 1 4 a
1199 2 2.23 b B 2 5 b
1200 3 3.23 c C 3 6 c
1201 <tbl_format_footer(setup)>
1202 # i 1 more variable: `col 01`$`col 04`[3] <int>
1203 Code
1204 tbl_format_setup(x, width = 82)
1205 Output
1206 <pillar_tbl_format_setup>
1207 <tbl_format_header(setup)>
1208 # A data frame: 3 x 3
1209 <tbl_format_body(setup)>
1210 column_zero_zero `col 01`$`col 02` $`col 03` $`col 04`[,"A"] $[,"B"] `col 05`
1211 <dbl> <chr> <chr> <int> <int> <ord>
1212 1 1.23 a A 1 4 a
1213 2 2.23 b B 2 5 b
1214 3 3.23 c C 3 6 c
1215 <tbl_format_footer(setup)>
1216 # i 1 more variable: `col 01`$`col 04`[3] <int>
1217 Code
1218 tbl_format_setup(x, width = 83)
1219 Output
1220 <pillar_tbl_format_setup>
1221 <tbl_format_header(setup)>
1222 # A data frame: 3 x 3
1223 <tbl_format_body(setup)>
1224 column_zero_zero `col 01`$`col 02` $`col 03` $`col 04`[,"A"] $[,"B"] `col 05`
1225 <dbl> <chr> <chr> <int> <int> <ord>
1226 1 1.23 a A 1 4 a
1227 2 2.23 b B 2 5 b
1228 3 3.23 c C 3 6 c
1229 <tbl_format_footer(setup)>
1230 # i 1 more variable: `col 01`$`col 04`[3] <int>
1231 Code
1232 tbl_format_setup(x, width = 84)
1233 Output
1234 <pillar_tbl_format_setup>
1235 <tbl_format_header(setup)>
1236 # A data frame: 3 x 3
1237 <tbl_format_body(setup)>
1238 column_zero_zero `col 01`$`col 02` $`col 03` $`col 04`[,"A"] $[,"B"] `col 05`
1239 <dbl> <chr> <chr> <int> <int> <ord>
1240 1 1.23 a A 1 4 a
1241 2 2.23 b B 2 5 b
1242 3 3.23 c C 3 6 c
1243 <tbl_format_footer(setup)>
1244 # i 1 more variable: `col 01`$`col 04`[3] <int>
1245 Code
1246 tbl_format_setup(x, width = 85)
1247 Output
1248 <pillar_tbl_format_setup>
1249 <tbl_format_header(setup)>
1250 # A data frame: 3 x 3
1251 <tbl_format_body(setup)>
1252 column_zero_zero `col 01`$`col 02` $`col 03` $`col 04`[,"A"] $[,"B"] `col 05`
1253 <dbl> <chr> <chr> <int> <int> <ord>
1254 1 1.23 a A 1 4 a
1255 2 2.23 b B 2 5 b
1256 3 3.23 c C 3 6 c
1257 <tbl_format_footer(setup)>
1258 # i 1 more variable: `col 01`$`col 04`[3] <int>
1259 Code
1260 tbl_format_setup(x, width = 86)
1261 Output
1262 <pillar_tbl_format_setup>
1263 <tbl_format_header(setup)>
1264 # A data frame: 3 x 3
1265 <tbl_format_body(setup)>
1266 column_zero_zero `col 01`$`col 02` $`col 03` $`col 04`[,"A"] $[,"B"] `col 05`
1267 <dbl> <chr> <chr> <int> <int> <ord>
1268 1 1.23 a A 1 4 a
1269 2 2.23 b B 2 5 b
1270 3 3.23 c C 3 6 c
1271 <tbl_format_footer(setup)>
1272 # i 1 more variable: `col 01`$`col 04`[3] <int>
1273 Code
1274 tbl_format_setup(x, width = 87)
1275 Output
1276 <pillar_tbl_format_setup>
1277 <tbl_format_header(setup)>
1278 # A data frame: 3 x 3
1279 <tbl_format_body(setup)>
1280 column_zero_zero `col 01`$`col 02` $`col 03` $`col 04`[,"A"] $[,"B"] $[,"C"] `col 05`
1281 <dbl> <chr> <chr> <int> <int> <int> <ord>
1282 1 1.23 a A 1 4 7 a
1283 2 2.23 b B 2 5 8 b
1284 3 3.23 c C 3 6 9 c
1285 <tbl_format_footer(setup)>
1286 Code
1287 tbl_format_setup(x, width = 88)
1288 Output
1289 <pillar_tbl_format_setup>
1290 <tbl_format_header(setup)>
1291 # A data frame: 3 x 3
1292 <tbl_format_body(setup)>
1293 column_zero_zero `col 01`$`col 02` $`col 03` $`col 04`[,"A"] $[,"B"] $[,"C"] `col 05`
1294 <dbl> <chr> <chr> <int> <int> <int> <ord>
1295 1 1.23 a A 1 4 7 a
1296 2 2.23 b B 2 5 8 b
1297 3 3.23 c C 3 6 9 c
1298 <tbl_format_footer(setup)>
1299 Code
1300 tbl_format_setup(x, width = 89)
1301 Output
1302 <pillar_tbl_format_setup>
1303 <tbl_format_header(setup)>
1304 # A data frame: 3 x 3
1305 <tbl_format_body(setup)>
1306 column_zero_zero `col 01`$`col 02` $`col 03` $`col 04`[,"A"] $[,"B"] $[,"C"] `col 05`
1307 <dbl> <chr> <chr> <int> <int> <int> <ord>
1308 1 1.23 a A 1 4 7 a
1309 2 2.23 b B 2 5 8 b
1310 3 3.23 c C 3 6 9 c
1311 <tbl_format_footer(setup)>
1312 Code
1313 tbl_format_setup(x, width = Inf)
1314 Output
1315 <pillar_tbl_format_setup>
1316 <tbl_format_header(setup)>
1317 # A data frame: 3 x 3
1318 <tbl_format_body(setup)>
1319 column_zero_zero `col 01`$`col 02` $`col 03` $`col 04`[,"A"] $[,"B"] $[,"C"] `col 05`
1320 <dbl> <chr> <chr> <int> <int> <int> <ord>
1321 1 1.23 a A 1 4 7 a
1322 2 2.23 b B 2 5 8 b
1323 3 3.23 c C 3 6 9 c
1324 <tbl_format_footer(setup)>
1325
1326 # tbl_format_setup() results
1327
1328 Code
1329 tbl_format_setup(as_tbl(mtcars), width = 80)
1330 Output
1331 <pillar_tbl_format_setup>
1332 <tbl_format_header(setup)>
1333 # A data frame: 32 x 11
1334 <tbl_format_body(setup)>
1335 mpg cyl disp hp drat wt qsec vs am gear carb
1336 * <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl>
1337 1 21 6 160 110 3.9 2.62 16.5 0 1 4 4
1338 2 21 6 160 110 3.9 2.88 17.0 0 1 4 4
1339 3 22.8 4 108 93 3.85 2.32 18.6 1 1 4 1
1340 4 21.4 6 258 110 3.08 3.22 19.4 1 0 3 1
1341 5 18.7 8 360 175 3.15 3.44 17.0 0 0 3 2
1342 6 18.1 6 225 105 2.76 3.46 20.2 1 0 3 1
1343 7 14.3 8 360 245 3.21 3.57 15.8 0 0 3 4
1344 8 24.4 4 147. 62 3.69 3.19 20 1 0 4 2
1345 9 22.8 4 141. 95 3.92 3.15 22.9 1 0 4 2
1346 10 19.2 6 168. 123 3.92 3.44 18.3 1 0 4 4
1347 <tbl_format_footer(setup)>
1348 # i 22 more rows
1349 Code
1350 tbl_format_setup(as_tbl(mtcars), width = 30, n = 8)
1351 Output
1352 <pillar_tbl_format_setup>
1353 <tbl_format_header(setup)>
1354 # A data frame: 32 x 11
1355 <tbl_format_body(setup)>
1356 mpg cyl disp hp
1357 * <dbl> <dbl> <dbl> <dbl>
1358 1 21 6 160 110
1359 2 21 6 160 110
1360 3 22.8 4 108 93
1361 4 21.4 6 258 110
1362 5 18.7 8 360 175
1363 6 18.1 6 225 105
1364 7 14.3 8 360 245
1365 8 24.4 4 147. 62
1366 <tbl_format_footer(setup)>
1367 # i 24 more rows
1368 # i 7 more variables:
1369 # drat <dbl>, wt <dbl>,
1370 # qsec <dbl>, vs <dbl>,
1371 # am <dbl>, gear <dbl>,
1372 # carb <dbl>
1373 Code
1374 tbl_format_setup(as_tbl(trees), width = 30, n = 100)
1375 Output
1376 <pillar_tbl_format_setup>
1377 <tbl_format_header(setup)>
1378 # A data frame: 31 x 3
1379 <tbl_format_body(setup)>
1380 Girth Height Volume
1381 <dbl> <dbl> <dbl>
1382 1 8.3 70 10.3
1383 2 8.6 65 10.3
1384 3 8.8 63 10.2
1385 4 10.5 72 16.4
1386 5 10.7 81 18.8
1387 6 10.8 83 19.7
1388 7 11 66 15.6
1389 8 11 75 18.2
1390 9 11.1 80 22.6
1391 10 11.2 75 19.9
1392 11 11.3 79 24.2
1393 12 11.4 76 21
1394 13 11.4 76 21.4
1395 14 11.7 69 21.3
1396 15 12 75 19.1
1397 16 12.9 74 22.2
1398 17 12.9 85 33.8
1399 18 13.3 86 27.4
1400 19 13.7 71 25.7
1401 20 13.8 64 24.9
1402 21 14 78 34.5
1403 22 14.2 80 31.7
1404 23 14.5 74 36.3
1405 24 16 72 38.3
1406 25 16.3 77 42.6
1407 26 17.3 81 55.4
1408 27 17.5 82 55.7
1409 28 17.9 80 58.3
1410 29 18 80 51.5
1411 30 18 80 51
1412 31 20.6 87 77
1413 <tbl_format_footer(setup)>
1414 Code
1415 # Unknown rows
1416 tbl_format_setup(as_unknown_rows(trees[1:9, ]), width = 30, n = 10)
1417 Output
1418 <pillar_tbl_format_setup>
1419 <tbl_format_header(setup)>
1420 # Unknown rows: ?? x 3
1421 <tbl_format_body(setup)>
1422 Girth Height Volume
1423 <dbl> <dbl> <dbl>
1424 1 8.3 70 10.3
1425 2 8.6 65 10.3
1426 3 8.8 63 10.2
1427 4 10.5 72 16.4
1428 5 10.7 81 18.8
1429 6 10.8 83 19.7
1430 7 11 66 15.6
1431 8 11 75 18.2
1432 9 11.1 80 22.6
1433 <tbl_format_footer(setup)>
1434 Code
1435 tbl_format_setup(as_unknown_rows(trees[1:10, ]), width = 30, n = 10)
1436 Output
1437 <pillar_tbl_format_setup>
1438 <tbl_format_header(setup)>
1439 # Unknown rows: ?? x 3
1440 <tbl_format_body(setup)>
1441 Girth Height Volume
1442 <dbl> <dbl> <dbl>
1443 1 8.3 70 10.3
1444 2 8.6 65 10.3
1445 3 8.8 63 10.2
1446 4 10.5 72 16.4
1447 5 10.7 81 18.8
1448 6 10.8 83 19.7
1449 7 11 66 15.6
1450 8 11 75 18.2
1451 9 11.1 80 22.6
1452 10 11.2 75 19.9
1453 <tbl_format_footer(setup)>
1454 Code
1455 tbl_format_setup(as_unknown_rows(trees[1:11, ]), width = 30, n = 10)
1456 Output
1457 <pillar_tbl_format_setup>
1458 <tbl_format_header(setup)>
1459 # Unknown rows: ?? x 3
1460 <tbl_format_body(setup)>
1461 Girth Height Volume
1462 <dbl> <dbl> <dbl>
1463 1 8.3 70 10.3
1464 2 8.6 65 10.3
1465 3 8.8 63 10.2
1466 4 10.5 72 16.4
1467 5 10.7 81 18.8
1468 6 10.8 83 19.7
1469 7 11 66 15.6
1470 8 11 75 18.2
1471 9 11.1 80 22.6
1472 10 11.2 75 19.9
1473 <tbl_format_footer(setup)>
1474 # i more rows
1475 Code
1476 # No rows
1477 tbl_format_setup(new_tbl(list(a = character(), b = logical())), width = 30)
1478 Output
1479 <pillar_tbl_format_setup>
1480 <tbl_format_header(setup)>
1481 # A data frame: 0 x 2
1482 <tbl_format_body(setup)>
1483 <tbl_format_footer(setup)>
1484 # i 2 variables: a <chr>,
1485 # b <lgl>
1486 Code
1487 # No columns
1488 tbl_format_setup(as_tbl(trees[character()]), width = 30, n = 5L)
1489 Output
1490 <pillar_tbl_format_setup>
1491 <tbl_format_header(setup)>
1492 # A data frame: 31 x 0
1493 <tbl_format_body(setup)>
1494 <tbl_format_footer(setup)>
1495 Code
1496 # No rows, unknown
1497 tbl_format_setup(as_unknown_rows(trees[integer(), ]), width = 30, n = 5L)
1498 Output
1499 <pillar_tbl_format_setup>
1500 <tbl_format_header(setup)>
1501 # Unknown rows: ?? x 3
1502 <tbl_format_body(setup)>
1503 <tbl_format_footer(setup)>
1504 # i 3 variables: Girth <dbl>,
1505 # Height <dbl>,
1506 # Volume <dbl>
1507 Code
1508 # No columns, unknown
1509 tbl_format_setup(as_unknown_rows(trees[, character()]), width = 30, n = 5L)
1510 Output
1511 <pillar_tbl_format_setup>
1512 <tbl_format_header(setup)>
1513 # Unknown rows: ?? x 0
1514 <tbl_format_body(setup)>
1515 <tbl_format_footer(setup)>
1516 # i at least 5 rows total
1517 Code
1518 # Long table, unknown
1519 tbl_format_setup(as_unknown_rows(new_tbl(list(a = seq.int(10000)))), n = 5L,
1520 width = 30L)
1521 Output
1522 <pillar_tbl_format_setup>
1523 <tbl_format_header(setup)>
1524 # Unknown rows: ?? x 1
1525 <tbl_format_body(setup)>
1526 a
1527 <int>
1528 1 1
1529 2 2
1530 3 3
1531 4 4
1532 5 5
1533 <tbl_format_footer(setup)>
1534 # i more rows
1535 Code
1536 # Long table, unknown, default
1537 tbl_format_setup(as_unknown_rows(new_tbl(list(a = seq.int(5)))), n = structure(
1538 3, max = 6), width = 60L)
1539 Output
1540 <pillar_tbl_format_setup>
1541 <tbl_format_header(setup)>
1542 # Unknown rows: ?? x 1
1543 <tbl_format_body(setup)>
1544 a
1545 <int>
1546 1 1
1547 2 2
1548 3 3
1549 4 4
1550 5 5
1551 <tbl_format_footer(setup)>
1552
1553 # tbl_format_setup() for footnotes
1554
1555 Code
1556 tbl_format_setup(width = 73, as_tbl(data_frame(xxxabc = 1, xxxdef = 1, xxxghi = 1,
1557 xxxjkl = 1, xxxmno = 1, xxxpqr = 1, xxxstu = 1, xxxvwx = 1, xxxyza = 1,
1558 xxxbcd = 1, xxxefg = 1, xxxhij = 1, xxxklm = 1, xxxnop = 1)))
1559 Output
1560 <pillar_tbl_format_setup>
1561 <tbl_format_header(setup)>
1562 # A data frame: 1 x 14
1563 <tbl_format_body(setup)>
1564 xxxabc xxxdef xxxghi xxxjkl xxxmno xxxpqr xxxstu xxxvwx xxxyza xxxbcd
1565 <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl>
1566 1 1 1 1 1 1 1 1 1 1 1
1567 <tbl_format_footer(setup)>
1568 # i 4 more variables: xxxefg <dbl>, xxxhij <dbl>, xxxklm <dbl>,
1569 # xxxnop <dbl>
1570
1571 # tbl_format_setup() for footnotes with min_title_chars = 4
1572
1573 Code
1574 tbl_format_setup(width = 73, as_tbl(data_frame(xxxabc = 1, xxxdef = 1, xxxghi = 1,
1575 xxxjkl = 1, xxxmno = 1, xxxpqr = 1, xxxstu = 1, xxxvwx = 1, xxxyza = 1,
1576 xxxbcd = 1, xxxefg = 1, xxxhij = 1, xxxklm = 1, xxxnop = 1)))
1577 Output
1578 <pillar_tbl_format_setup>
1579 <tbl_format_header(setup)>
1580 # A data frame: 1 x 14
1581 <tbl_format_body(setup)>
1582 xxxabc xxxdef xxxghi xxxjkl xxxmno xxxpqr xxxstu xxxvwx xxxyza xxxbcd
1583 <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl>
1584 1 1 1 1 1 1 1 1 1 1 1
1585 <tbl_format_footer(setup)>
1586 # i 4 more variables: xxxefg <dbl>, xxxhij <dbl>, xxxklm <dbl>,
1587 # xxxnop <dbl>
1588
1589 # tbl_format_setup() for footnotes with UTF-8 output
1590
1591 Code
1592 tbl_format_setup(width = 73, as_tbl(data_frame(xxxabc = 1, xxxdef = 1, xxxghi = 1,
1593 xxxjkl = 1, xxxmno = 1, xxxpqr = 1, xxxstu = 1, xxxvwx = 1, xxxyza = 1,
1594 xxxbcd = 1, xxxefg = 1, xxxhij = 1, xxxklm = 1, xxxnop = 1)))
1595 Output
1596 <pillar_tbl_format_setup>
1597 <tbl_format_header(setup)>
1598 # A data frame: 1 × 14
1599 <tbl_format_body(setup)>
1600 xxxabc xxxdef xxxghi xxxjkl xxxmno xxxpqr xxxstu xxxvwx xxxyza xxxbcd
1601 <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl>
1602 1 1 1 1 1 1 1 1 1 1 1
1603 <tbl_format_footer(setup)>
1604 # ℹ 4 more variables: xxxefg <dbl>, xxxhij <dbl>, xxxklm <dbl>,
1605 # xxxnop <dbl>
1606