Debian Codegraph @

tests/testthat/_snaps/format_integer64.md

raw symbols SCIP
1 # integer64 output will use scientific if necessary
2
3 Code
4 pillar(add_special(x), width = 6)
5 Output
6 <pillar>
7 <int6>
8 0
9 1e11
10 1e12
11 NA
12 Code
13 pillar(add_special(x), width = 7)
14 Output
15 <pillar>
16 <int64>
17 0
18 1e11
19 1e12
20 NA
21 Code
22 pillar(add_special(x), width = 8)
23 Output
24 <pillar>
25 <int64>
26 0
27 1e11
28 1e12
29 NA
30 Code
31 pillar(add_special(x), width = 9)
32 Output
33 <pillar>
34 <int64>
35 0
36 1e11
37 1e12
38 NA
39 Code
40 pillar(add_special(x), width = 10)
41 Output
42 <pillar>
43 <int64>
44 0
45 1e11
46 1e12
47 NA
48 Code
49 pillar(add_special(x), width = 11)
50 Output
51 <pillar>
52 <int64>
53 0
54 1e11
55 1e12
56 NA
57 Code
58 pillar(add_special(x), width = 12)
59 Output
60 <pillar>
61 <int64>
62 0
63 1e11
64 1e12
65 NA
66 Code
67 pillar(add_special(x), width = 13)
68 Output
69 <pillar>
70 <int64>
71 0
72 100000000001
73 1000000000002
74 NA
75 Code
76 pillar(add_special(x), width = 14)
77 Output
78 <pillar>
79 <int64>
80 0
81 100000000001
82 1000000000002
83 NA
84
85 # integer64 output uses underlines correctly
86
87 Code
88 pillar(bit64::as.integer64(c(1, 10000)))
89 Output
90 <pillar>
91 <int64>
92 1
93 10000
94
95 # nanotime works (#378)
96
97 Code
98 pillar(x, width = 16)
99 Output
100 <pillar>
101 <nanotime>
102 2011-12-05T08:3~
103 Code
104 pillar(x, width = 17)
105 Output
106 <pillar>
107 <nanotime>
108 2011-12-05T08:30~
109 Code
110 pillar(x, width = 18)
111 Output
112 <pillar>
113 <nanotime>
114 2011-12-05T08:30:~
115 Code
116 pillar(x, width = 19)
117 Output
118 <pillar>
119 <nanotime>
120 2011-12-05T08:30:0~
121 Code
122 pillar(x, width = 20)
123 Output
124 <pillar>
125 <nanotime>
126 2011-12-05T08:30:00~
127 Code
128 pillar(x, width = 21)
129 Output
130 <pillar>
131 <nanotime>
132 2011-12-05T08:30:00+~
133 Code
134 pillar(x, width = 22)
135 Output
136 <pillar>
137 <nanotime>
138 2011-12-05T08:30:00+0~
139 Code
140 pillar(x, width = 23)
141 Output
142 <pillar>
143 <nanotime>
144 2011-12-05T08:30:00+00~
145 Code
146 pillar(x, width = 24)
147 Output
148 <pillar>
149 <nanotime>
150 2011-12-05T08:30:00+00:~
151 Code
152 pillar(x, width = 25)
153 Output
154 <pillar>
155 <nanotime>
156 2011-12-05T08:30:00+00:00
157 Code
158 pillar(x, width = 26)
159 Output
160 <pillar>
161 <nanotime>
162 2011-12-05T08:30:00+00:00
163