tests/testthat/test-duckdb.R

test_that("case-insensitive duplicates", {
  out <- data.frame(a = 1:2) %>%
    as_duckplyr_df() %>%
    mutate(A = a + 1L, b = A - 1L)

  expect_identical(out$a, out$b)
})
duckdblabs/duckplyr documentation built on Nov. 6, 2024, 10 p.m.