# Generated by 04-dplyr-tests.R, do not edit by hand
# Workaround for lazytest
test_that("Dummy", { expect_true(TRUE) })
skip_if(Sys.getenv("DUCKPLYR_SKIP_DPLYR_TESTS") == "TRUE")
test_that("`duckplyr_auto_copy()` is a no-op when they share the same source", {
skip("TODO duckdb")
df1 <- tibble(x = 1)
df2 <- tibble(x = 2)
expect_identical(duckplyr_auto_copy(df1, df2), df2)
})
test_that("`duckplyr_auto_copy()` throws an informative error on different sources (#6798)", {
df <- tibble(x = 1)
expect_snapshot(error = TRUE, {
duckplyr_auto_copy(df, NULL)
})
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.