diff --git a/man/backend-duckdb.Rd b/man/backend-duckdb.Rd index 9d6baf1c7..335e2223d 100644 --- a/man/backend-duckdb.Rd +++ b/man/backend-duckdb.Rd @@ -43,7 +43,7 @@ Use \code{dplyr::tbl(src, dplyr::sql("SELECT ... FROM ..."))} for custom SQL que See \url{https://duckdb.org/docs/data/overview} for details on data importing functions. } \examples{ -\dontshow{if (TEST_RE2 && rlang::is_installed("dbplyr")) (if (getRversion() >= "3.4") withAutoprint else force)(\{ # examplesIf} +\dontshow{if (duckdb:::TEST_RE2 && rlang::is_installed("dbplyr")) (if (getRversion() >= "3.4") withAutoprint else force)(\{ # examplesIf} library(dplyr, warn.conflicts = FALSE) con <- DBI::dbConnect(duckdb(), path = ":memory:") diff --git a/man/duckdb_read_csv.Rd b/man/duckdb_read_csv.Rd index 22324354d..60e9fe19d 100644 --- a/man/duckdb_read_csv.Rd +++ b/man/duckdb_read_csv.Rd @@ -55,7 +55,7 @@ Directly reads a CSV file into DuckDB, tries to detect and create the correct sc This usually is much faster than reading the data into R and writing it to DuckDB. } \examples{ -\dontshow{if (TEST_RE2) (if (getRversion() >= "3.4") withAutoprint else force)(\{ # examplesIf} +\dontshow{if (duckdb:::TEST_RE2) (if (getRversion() >= "3.4") withAutoprint else force)(\{ # examplesIf} con <- dbConnect(duckdb()) data <- data.frame(a = 1:3, b = letters[1:3])