Skip to content

Commit

Permalink
Merge pull request #220 from stefanlinner/main
Browse files Browse the repository at this point in the history
feat: Set the `duckdb.materialize_message` option on load only if not previously specified
  • Loading branch information
krlmlr authored Sep 25, 2024
2 parents f8268fe + 18d7f4c commit 3c115c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/duckplyr-package.R
Original file line number Diff line number Diff line change
Expand Up @@ -543,7 +543,7 @@ tidyselect::where
dplyr_mode <- FALSE

on_load({
if (!identical(Sys.getenv("TESTTHAT"), "true")) {
if (!identical(Sys.getenv("TESTTHAT"), "true") && is.null(getOption("duckdb.materialize_message"))) {
options(duckdb.materialize_message = TRUE)
}
})

0 comments on commit 3c115c7

Please sign in to comment.