You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tests/testthat/_snaps/vignette-tibble/tibble.md
+21-19Lines changed: 21 additions & 19 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -148,33 +148,35 @@ It also prints an abbreviated description of the column type, and uses font styl
148
148
149
149
150
150
```r
151
-
tibble(x=-5:1000)
151
+
tibble(x=-5:100, y=123.456* (3^x))
152
152
```
153
153
154
-
<divclass="sourceCode"><preclass="sourceCode"><codeclass="sourceCode"><spanstyle='color: #555555;'>#></span> <spanstyle='color: #555555;'># A tibble: 1,006 x 1</span>
<spanstyle='color: #555555;'>#></span> <spanstyle='color: #555555;'># ... with 996 more rows</span>
154
+
<divclass="sourceCode"><preclass="sourceCode"><codeclass="sourceCode"><spanstyle='color: #555555;'>#></span> <spanstyle='color: #555555;'># A tibble: 106 x 2</span>
<spanstyle='color: #555555;'>#></span> <spanstyle='color: #555555;'># ... with 96 more rows</span>
168
168
</code></pre></div>
169
169
170
+
Numbers are displayed with three significant figures by default, and a trailing dot that indicates the existence of a fractional component.
171
+
170
172
You can control the default appearance with options:
171
173
172
-
*`options(tibble.print_max = n, tibble.print_min = m)`: if there are more than `n` rows, print only the first `m` rows.
173
-
Use `options(tibble.print_max = Inf)` to always show all rows.
174
+
*`options(pillar.print_max = n, pillar.print_min = m)`: if there are more than `n` rows, print only the first `m` rows.
175
+
Use `options(pillar.print_max = Inf)` to always show all rows.
174
176
175
-
*`options(tibble.width = Inf)`will always print all columns, regardless of the width of the screen.
177
+
*`options(pillar.width = n)`: use `n` character slots horizontally to show the data. If `n > getOption("width")`, this will result in multiple tiers. Use `options(pillar.width = Inf)` to always print all columns, regardless of the width of the screen.
176
178
177
-
See `?"tibble-package"`for the available options, and `vignette("types")` for an overview of the type abbreviations.
179
+
See `?pillar::pillar_options` and `?tibble_options`for the available options, `vignette("types")` for an overview of the type abbreviations, and `vignette("digits", package = "pillar")` for details on the formatting of numbers.
Copy file name to clipboardExpand all lines: vignettes/tibble.Rmd
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -143,7 +143,7 @@ You can control the default appearance with options:
143
143
144
144
*`options(pillar.width = n)`: use `n` character slots horizontally to show the data. If `n > getOption("width")`, this will result in multiple tiers. Use `options(pillar.width = Inf)` to always print all columns, regardless of the width of the screen.
145
145
146
-
See `?pillar_options` and `?tibble_options` for the available options, `vignette("types")` for an overview of the type abbreviations, and `vignette("digits", package = "pillar")` for details on the formatting of numbers.
146
+
See `?pillar::pillar_options` and `?tibble_options` for the available options, `vignette("types")` for an overview of the type abbreviations, and `vignette("digits", package = "pillar")` for details on the formatting of numbers.
0 commit comments