Skip to content

Commit 7607760

Browse files
committed
remove outdated dbplyr code. Fixes #129
1 parent e4580c8 commit 7607760

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

inst/apps/051-movie-explorer/server.R

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,10 @@
33

44
library(ggvis)
55
library(dplyr)
6-
if (FALSE) {
7-
library(RSQLite)
8-
library(dbplyr)
9-
}
6+
library(dbplyr)
107

118
# Set up handles to database tables on app start
12-
db <- src_sqlite("movies.db")
9+
db <- DBI::dbConnect(RSQLite::SQLite(), "movies.db")
1310
omdb <- tbl(db, "omdb")
1411
tomatoes <- tbl(db, "tomatoes")
1512

0 commit comments

Comments
 (0)