tools/06-patch-duckdb.R

source("tools/00-funs.R", echo = TRUE)

brio::read_file("tests/testthat/test-rel_api.R") %>%
  str_replace_all("duckdb(?:::|[$])", "") %>%
  str_replace_all("DBI::", "") %>%
  str_replace_all("\n[^\n]+asNamespace[^\n]+\n", "\n") %>%
  brio::write_file("../duckdb-r/tests/testthat/test-rel_api.R")
duckdblabs/duckplyr documentation built on Nov. 6, 2024, 10 p.m.