Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: Remove outdated detail in tbl_sum() docs #565

Merged
merged 1 commit into from
Jul 7, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions R/tbl-sum.R
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,17 @@
#' and additional information in the other elements (such as grouping for \pkg{dplyr}).
#' The default implementation forwards to [pillar::obj_sum()].
#'
#' This generic will be moved to \pkg{pillar}, and reexported from there
#' as soon as it becomes available.
#'
#' @return A named character vector, describing the dimensions in the first element
#' and the data source in the name of the first element.
#'
#' @examples
#' tbl_sum(1:10)
#' tbl_sum(matrix(1:10))
#' tbl_sum(data.frame(a = 1))
#' tbl_sum(Sys.Date())
#' tbl_sum(Sys.time())
#' tbl_sum(mean)
#'
#' @seealso [pillar::type_sum()]
#' @param x Object to summarise.
#' @export
Expand Down
11 changes: 8 additions & 3 deletions man/tbl_sum.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.