You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The src_sqlite() function was deprecated in {dplyr} 1.0.0, (latest version is 1.1.4)
and it guides to use tbl() function instead as warning message below.
Warning: `src_sqlite()` was deprecated in dplyr 1.0.0.
ℹ Please use `tbl()` directly with a database connection
Call `lifecycle::last_lifecycle_warnings()` to see where this warning was generated.
So how about using DBI::dbConnect and RQLite::SQLite() that suggested in src_sqlite() document?
# Set up handles to database tables on app startcon<-DBI::dbConnect(RSQLite::SQLite(), "movies.db")
omdb<-dplyr::tbl(con, "omdb")
tomatoes<-dplyr::tbl(con, "tomatoes")
Thanks.
The text was updated successfully, but these errors were encountered:
Hello team, In movie explorer's code
shiny-examples/051-movie-explorer/server.R
Lines 8 to 11 in 8d55896
The
src_sqlite()
function was deprecated in {dplyr} 1.0.0, (latest version is 1.1.4)and it guides to use
tbl()
function instead as warning message below.So how about using
DBI::dbConnect
andRQLite::SQLite()
that suggested insrc_sqlite()
document?Example docs
Final result
Thanks.
The text was updated successfully, but these errors were encountered: