Skip to content

Commit debd618

Browse files
committed
do not supply n in new_data_frame()
1 parent ee3282a commit debd618

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/as-tsibble.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -506,7 +506,7 @@ as_tibble.grouped_df <- function(x, ...) {
506506
#' @keywords internal
507507
#' @export
508508
as.data.frame.tbl_ts <- function(x, row.names = NULL, optional = FALSE, ...) {
509-
new_data_frame(vec_data(x), n = nrow(x))
509+
new_data_frame(vec_data(x))
510510
}
511511

512512
#' Test duplicated observations determined by key and index variables

0 commit comments

Comments
 (0)