Skip to content

Commit 4ac3980

Browse files
committed
use new_tibble instead of as_tibble in epix_slide
1 parent 88df207 commit 4ac3980

File tree

3 files changed

+10
-8
lines changed

3 files changed

+10
-8
lines changed

NAMESPACE

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@ importFrom(rlang,syms)
116116
importFrom(stats,cor)
117117
importFrom(stats,median)
118118
importFrom(tibble,as_tibble)
119+
importFrom(tibble,new_tibble)
119120
importFrom(tidyr,unnest)
120121
importFrom(tidyselect,eval_select)
121122
importFrom(tidyselect,starts_with)

R/grouped_epi_archive.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ grouped_epi_archive =
186186
#' object. See the documentation for the wrapper function [`epix_slide()`] for
187187
#' details.
188188
#' @importFrom data.table key address rbindlist setDF
189-
#' @importFrom tibble as_tibble
189+
#' @importFrom tibble as_tibble new_tibble
190190
#' @importFrom dplyr group_by groups
191191
#' @importFrom rlang !! !!! enquo quo_is_missing enquos is_quosure sym syms
192192
#' env missing_arg
@@ -294,7 +294,7 @@ grouped_epi_archive =
294294
res[[new_col]] <- list(comp_value)
295295

296296
# Convert the list to a tibble all at once for speed.
297-
return(as_tibble(res))
297+
return(new_tibble(res))
298298
}
299299

300300
# If `f` is missing, interpret ... as an expression for tidy evaluation

man/epix_slide.Rd

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

0 commit comments

Comments
 (0)