-
Notifications
You must be signed in to change notification settings - Fork 130
Commit
- `print.tbl_df()` gains `n_extra` method and will have the same interface as `trunc_mat()` from now on. - Added more examples for `print.tbl_df()`, now using data from `nycflights13` instead of `Lahman`.
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,6 +9,10 @@ | |
#' \code{getOption("width")}; the latter displays only the columns that | ||
#' fit on one screen. You can also set \code{options(tibble.width = Inf)} to | ||
#' override this default and always print all columns. | ||
#' @param n_extra Number of extra columns to print abbreviated information for, | ||
#' if the width is too small for the entire tibble. If \code{NULL}, the | ||
#' default, will print information about at most \code{tibble.max_extra_cols} | ||
#' extra columns. | ||
#' @seealso \link{tibble-package} | ||
#' @keywords internal | ||
#' @examples | ||
|
@@ -19,6 +23,8 @@ | |
#' print(as_tibble(mtcars), n = 3) | ||
#' print(as_tibble(mtcars), n = 100) | ||
#' | ||
#' print(nycflights13::flights, n_extra = 2) | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
krlmlr
Author
Member
|
||
#' print(nycflights13::flights, width = Inf) | ||
#' @name formatting | ||
NULL | ||
|
||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Should technically be surrounded in
if(requireNamespace("nyclights13")) {}