Skip to content
Open
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
57 changes: 57 additions & 0 deletions tests/testthat/_snaps/bind.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@
Warning:
`dm_bind()` was deprecated in dm 1.0.0.
i Please use `dm()` instead.
Warning:
`flatten()` is deprecated as of rlang 1.1.0.
i Please use `purrr::list_flatten()` or `purrr::list_c()`.
Warning:
`flatten_chr()` is deprecated as of rlang 1.1.0.
i Please use `purrr::list_flatten()` and/or `purrr::list_c()`.
Error in `dm_bind()`:
! Names must be unique.
x These names are duplicated:
Expand All @@ -25,6 +31,9 @@
Warning:
`dm_bind()` was deprecated in dm 1.0.0.
i Please use `dm()` instead.
Warning:
`flatten()` is deprecated as of rlang 1.1.0.
i Please use `purrr::list_flatten()` or `purrr::list_c()`.
Output
All `dm` objects need to share the same `src`.

Expand All @@ -44,6 +53,12 @@
Warning:
`dm_bind()` was deprecated in dm 1.0.0.
i Please use `dm()` instead.
Warning:
`flatten()` is deprecated as of rlang 1.1.0.
i Please use `purrr::list_flatten()` or `purrr::list_c()`.
Warning:
`flatten_chr()` is deprecated as of rlang 1.1.0.
i Please use `purrr::list_flatten()` and/or `purrr::list_c()`.
Output
dm()
Code
Expand All @@ -52,6 +67,12 @@
Warning:
`dm_bind()` was deprecated in dm 1.0.0.
i Please use `dm()` instead.
Warning:
`flatten()` is deprecated as of rlang 1.1.0.
i Please use `purrr::list_flatten()` or `purrr::list_c()`.
Warning:
`flatten_chr()` is deprecated as of rlang 1.1.0.
i Please use `purrr::list_flatten()` and/or `purrr::list_c()`.
Output
-- Metadata --------------------------------------------------------------------
Tables: `tf_1`, `tf_2`, `tf_3`, `tf_4`, `tf_5`, `tf_6`
Expand All @@ -65,6 +86,12 @@
Warning:
`dm_bind()` was deprecated in dm 1.0.0.
i Please use `dm()` instead.
Warning:
`flatten()` is deprecated as of rlang 1.1.0.
i Please use `purrr::list_flatten()` or `purrr::list_c()`.
Warning:
`flatten_chr()` is deprecated as of rlang 1.1.0.
i Please use `purrr::list_flatten()` and/or `purrr::list_c()`.
Output
-- Metadata --------------------------------------------------------------------
Tables: `tf_1...1`, `tf_2...2`, `tf_3...3`, `tf_4...4`, `tf_5...5`, ... (17 total)
Expand All @@ -78,6 +105,12 @@
Warning:
`dm_bind()` was deprecated in dm 1.0.0.
i Please use `dm()` instead.
Warning:
`flatten()` is deprecated as of rlang 1.1.0.
i Please use `purrr::list_flatten()` or `purrr::list_c()`.
Warning:
`flatten_chr()` is deprecated as of rlang 1.1.0.
i Please use `purrr::list_flatten()` and/or `purrr::list_c()`.
Output
Names must be unique.
x These names are duplicated:
Expand All @@ -97,6 +130,12 @@
Warning:
`dm_bind()` was deprecated in dm 1.0.0.
i Please use `dm()` instead.
Warning:
`flatten()` is deprecated as of rlang 1.1.0.
i Please use `purrr::list_flatten()` or `purrr::list_c()`.
Warning:
`flatten_chr()` is deprecated as of rlang 1.1.0.
i Please use `purrr::list_flatten()` and/or `purrr::list_c()`.
Message
New names:
* `tf_1` -> `tf_1...1`
Expand Down Expand Up @@ -127,6 +166,12 @@
Warning:
`dm_bind()` was deprecated in dm 1.0.0.
i Please use `dm()` instead.
Warning:
`flatten()` is deprecated as of rlang 1.1.0.
i Please use `purrr::list_flatten()` or `purrr::list_c()`.
Warning:
`flatten_chr()` is deprecated as of rlang 1.1.0.
i Please use `purrr::list_flatten()` and/or `purrr::list_c()`.
Message
dm::dm(
tf_1,
Expand Down Expand Up @@ -178,6 +223,12 @@
Warning:
`dm_bind()` was deprecated in dm 1.0.0.
i Please use `dm()` instead.
Warning:
`flatten()` is deprecated as of rlang 1.1.0.
i Please use `purrr::list_flatten()` or `purrr::list_c()`.
Warning:
`flatten_chr()` is deprecated as of rlang 1.1.0.
i Please use `purrr::list_flatten()` and/or `purrr::list_c()`.
Message
dm::dm(
fact,
Expand Down Expand Up @@ -232,6 +283,12 @@
Warning:
`dm_bind()` was deprecated in dm 1.0.0.
i Please use `dm()` instead.
Warning:
`flatten()` is deprecated as of rlang 1.1.0.
i Please use `purrr::list_flatten()` or `purrr::list_c()`.
Warning:
`flatten_chr()` is deprecated as of rlang 1.1.0.
i Please use `purrr::list_flatten()` and/or `purrr::list_c()`.
Message
New names:
* `fact` -> `fact...1`
Expand Down
13 changes: 13 additions & 0 deletions tests/testthat/_snaps/code-generation.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,13 @@
dm_add_fk(table = flights, columns = carrier, ref_table = airlines)
Code
cg_eval_block(cg_block)
Condition
Warning:
`flatten()` is deprecated as of rlang 1.1.0.
i Please use `purrr::list_flatten()` or `purrr::list_c()`.
Warning:
`flatten_chr()` is deprecated as of rlang 1.1.0.
i Please use `purrr::list_flatten()` and/or `purrr::list_c()`.
Output
-- Metadata --------------------------------------------------------------------
Tables: `airlines`, `airports`, `flights`, `planes`, `weather`
Expand All @@ -53,6 +60,12 @@
`dm_add_tbl()` was deprecated in dm 1.0.0.
i Please use `dm()` instead.
i Use `.name_repair = "unique"` if necessary.
Warning:
`flatten()` is deprecated as of rlang 1.1.0.
i Please use `purrr::list_flatten()` or `purrr::list_c()`.
Warning:
`flatten_chr()` is deprecated as of rlang 1.1.0.
i Please use `purrr::list_flatten()` and/or `purrr::list_c()`.
Output
-- Metadata --------------------------------------------------------------------
Tables: `airlines`, `airports`, `flights`, `weather`, `mtcars`
Expand Down
Loading