From 4738b611f8a7635297a54640a91fbba4d5f2889a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kirill=20M=C3=BCller?= Date: Wed, 2 Feb 2022 21:16:33 +0100 Subject: [PATCH] Fix example --- R/dm_unnest_tbl.R | 2 +- man/dm_unpack_tbl.Rd | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/R/dm_unnest_tbl.R b/R/dm_unnest_tbl.R index 1266b11c0..c082bb7c9 100644 --- a/R/dm_unnest_tbl.R +++ b/R/dm_unnest_tbl.R @@ -106,7 +106,7 @@ dm_unnest_tbl <- function(dm, parent_table, col, ptype) { #' ptype <- dm_ptype(dm_nycflights13()) #' #' flights_wrapped %>% -#' dm_unnest_tbl(flights, airlines, ptype) +#' dm_unpack_tbl(flights, airlines, ptype) dm_unpack_tbl <- function(dm, child_table, col, ptype) { # process args and build names child_table_name <- dm_tbl_name(dm, {{ child_table }}) diff --git a/man/dm_unpack_tbl.Rd b/man/dm_unpack_tbl.Rd index 0e1a10286..2b6f142bd 100644 --- a/man/dm_unpack_tbl.Rd +++ b/man/dm_unpack_tbl.Rd @@ -39,7 +39,7 @@ flights_wrapped <- ptype <- dm_ptype(dm_nycflights13()) flights_wrapped \%>\% - dm_unnest_tbl(flights, airlines, ptype) + dm_unpack_tbl(flights, airlines, ptype) } \seealso{ \code{\link[=dm_unwrap_tbl]{dm_unwrap_tbl()}}, \code{\link[=dm_unnest_tbl]{dm_unnest_tbl()}},