Skip to content

Commit

Permalink
Merge pull request #1394 from heavywatal/doc-nrow-optional
Browse files Browse the repository at this point in the history
  • Loading branch information
krlmlr authored Sep 7, 2022
2 parents a781e52 + 6b967b7 commit 75d7ba2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/new.R
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
#'
#' @export
#' @examples
#' # The nrow argument is always required:
#' new_tibble(list(a = 1:3, b = 4:6), nrow = 3)
#' # The nrow argument can be omitted:
#' new_tibble(list(a = 1:3, b = 4:6))
#'
#' # Existing row.names attributes are ignored:
#' try(validate_tibble(new_tibble(trees, nrow = 3)))
Expand Down

0 comments on commit 75d7ba2

Please sign in to comment.