Skip to content

Commit

Permalink
Avoid multidplyr failure, see tidyverse/multidplyr#146
Browse files Browse the repository at this point in the history
  • Loading branch information
DavisVaughan committed Mar 21, 2023
1 parent 3632123 commit 8ee46e6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion R/copy-to.R
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ auto_copy <- function(x, y, copy = FALSE, ...) {

if (!copy) {
bullets <- c(
"`x` and `y` must share the same source.",
"`x` and `y` must share the same src.",
i = cli::format_inline("`x` is {obj_type_friendly(x)}."),
i = cli::format_inline("`y` is {obj_type_friendly(y)}."),
i = "Set `copy = TRUE` if `y` can be copied to the same source as `x` (may be slow)."
Expand Down
2 changes: 1 addition & 1 deletion tests/testthat/_snaps/copy-to.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
auto_copy(df, NULL)
Condition
Error in `auto_copy()`:
! `x` and `y` must share the same source.
! `x` and `y` must share the same src.
i `x` is a <tbl_df/tbl/data.frame> object.
i `y` is `NULL`.
i Set `copy = TRUE` if `y` can be copied to the same source as `x` (may be slow).
Expand Down

0 comments on commit 8ee46e6

Please sign in to comment.