We're getting three instances of the following warning:
Warning (test-zzz-package.R:62:3): package
SQL statements must be issued with dbExecute() or dbSendStatement()
instead of dbGetQuery() or dbSendQuery().
The backtrace points to data.R line 129 x <- DBI::dbFetch(res); however the code before uses dbSendStatement():
res <- DBI::dbSendStatement(conn, paste0(
"INSERT OR ", toupper(resolution),
" INTO Data SELECT * FROM Upload;"
))
We're getting three instances of the following warning:
The backtrace points to data.R line 129
x <- DBI::dbFetch(res)
; however the code before usesdbSendStatement()
: