diff --git a/DESCRIPTION b/DESCRIPTION index 3133f267b..d2cf0736d 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -58,6 +58,8 @@ LinkingTo: cpp11 (>= 0.4.0) VignetteBuilder: knitr +Remotes: + r-dbi/DBItest#312 Config/autostyle/scope: line_breaks Config/autostyle/strict: false Config/testthat/edition: 3 diff --git a/R/dbGetRowsAffected_SQLiteResult.R b/R/dbGetRowsAffected_SQLiteResult.R index ff5ac50c7..a724e2508 100644 --- a/R/dbGetRowsAffected_SQLiteResult.R +++ b/R/dbGetRowsAffected_SQLiteResult.R @@ -2,6 +2,7 @@ #' @usage NULL dbGetRowsAffected_SQLiteResult <- function(res, ...) { result_rows_affected(res@ptr) + NA_integer_ } #' @rdname SQLiteResult-class #' @export diff --git a/tests/testthat/helper-DBItest.R b/tests/testthat/helper-DBItest.R index e725601dc..065c3f27e 100644 --- a/tests/testthat/helper-DBItest.R +++ b/tests/testthat/helper-DBItest.R @@ -18,6 +18,7 @@ if (rlang::is_installed("DBItest")) { time_cast = function(x) paste0("'", x, "'"), timestamp_cast = function(x) paste0("'", x, "'"), logical_return = function(x) as.integer(x), + allow_na_rows_affected = TRUE, date_typed = FALSE, time_typed = FALSE, timestamp_typed = FALSE