Skip to content

Commit b352120

Browse files
committed
Add cross-reference
1 parent 7583b29 commit b352120

File tree

6 files changed

+10
-6
lines changed

6 files changed

+10
-6
lines changed

R/print.R

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,9 @@
1313
#' Printing can be tweaked for a one-off call by calling `print()` explicitly
1414
#' and setting arguments like `n` and `width`. More persistent control is
1515
#' available by setting the options described in [pillar::pillar_options].
16-
#' See also `vignette("digits", package = "pillar")` for a comparison to base options,
17-
#' and [num()] and [char()] for creating columns with custom formatting options.
16+
#' See also `vignette("digits")` for a comparison to base options,
17+
#' and `vignette("numbers")` that showcases [num()] and [char()]
18+
#' for creating columns with custom formatting options.
1819
#'
1920
#' As of tibble 3.1.0, printing is handled entirely by the \pkg{pillar} package.
2021
#' If you implement a package that extends tibble,

man/formatting.Rd

Lines changed: 3 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/testthat/_snaps/vignette-numbers/numbers.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ vignette: >
1111

1212
Tibbles print numbers with three significant digits by default, switching to scientific notation if the available space is too small.
1313
Underlines are used to highlight groups of three digits.
14+
The display differs from the default display for data frames, see `vignette("digits")` for an overview over the differences.
1415
This display works for many, but not for all use cases.
1516

1617

tests/testthat/_snaps/vignette-tibble/tibble.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ You can control the default appearance with options:
163163

164164
* `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.
165165

166-
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.
166+
See `?pillar::pillar_options` and `?tibble_options` for the available options, `vignette("types")` for an overview of the type abbreviations, `vignette("numbers")` for details on the formatting of numbers, and `vignette("digits")` for a comparison with data frame printing.
167167

168168
### Subsetting
169169

vignettes/numbers.Rmd

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ tibble:::set_fansi_hooks()
1616

1717
Tibbles print numbers with three significant digits by default, switching to scientific notation if the available space is too small.
1818
Underlines are used to highlight groups of three digits.
19+
The display differs from the default display for data frames, see `vignette("digits")` for an overview over the differences.
1920
This display works for many, but not for all use cases.
2021

2122
```{r numbers-2}

vignettes/tibble.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ You can control the default appearance with options:
110110

111111
* `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.
112112

113-
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.
113+
See `?pillar::pillar_options` and `?tibble_options` for the available options, `vignette("types")` for an overview of the type abbreviations, `vignette("numbers")` for details on the formatting of numbers, and `vignette("digits")` for a comparison with data frame printing.
114114

115115
### Subsetting
116116

0 commit comments

Comments
 (0)