Debian Codegraph @

tests/testthat/_snaps/type_sum.md

raw symbols SCIP
1 # works with glimpse
2
3 Code
4 glimpse(new_tbl(list(foo = foo, bar = bar)))
5 Output
6 Rows: 3
7 Columns: 2
8 $ foo AsIs 2011, 2012, 2013
9 $ bar VeryLong 2011, 2012, 2013
10
11 # can override
12
13 Code
14 new_tbl(list(foo = foo, bar = bar))
15 Output
16 # A data frame: 3 x 2
17 foo bar
18 AsIs VeryLong
19 1 2011 2011
20 2 2012 2012
21 3 2013 2013
22 Code
23 options(width = 13)
24 new_tbl(list(foo = foo, bar = bar))
25 Output
26 # A data
27 # frame: 3
28 # x 2
29 foo bar
30 AsIs VeryL~
31 1 2011 2011
32 2 2012 2012
33 3 2013 2013
34