Skip to content

Commit

Permalink
autocommit
Browse files Browse the repository at this point in the history
  • Loading branch information
ablack3 committed Jan 12, 2024
1 parent cef0e9f commit 204176b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/generateCohortSet.R
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ generateCohortSet <- function(cdm,

for (x in paste0(name, c("", "_count", "_set", "_attrition"))) {
if (x %in% existingTables) {
if (isTrue(overwrite)) {
if (overwrite) {
DBI::dbRemoveTable(con, inSchema(write_schema, x, dbms = dbms(con)))
} else {
cli::cli_abort("The cohort table {paste0(prefix, name)} already exists.\nSpecify overwrite = TRUE to overwrite it.")
Expand Down
Binary file modified tests/testthat/Rplots.pdf
Binary file not shown.

0 comments on commit 204176b

Please sign in to comment.