Skip to content

Commit

Permalink
Speed up example
Browse files Browse the repository at this point in the history
  • Loading branch information
hadley committed Nov 2, 2020
1 parent 3c31ace commit c70016c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
5 changes: 2 additions & 3 deletions R/src_dbi.R
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,8 @@
#' # we'll use the Lahman database. lahman_sqlite() takes care of
#' # creating the database.
#'
#' if (has_lahman("sqlite")) {
#' lahman_p <- lahman_sqlite()
#' batting <- lahman_p %>% tbl("Batting")
#' if (requireNamespace("Lahman", quietly = TRUE)) {
#' batting <- copy_to(con, Lahman::Batting)
#' batting
#'
#' # Basic data manipulation verbs work in the same way as with a tibble
Expand Down
5 changes: 2 additions & 3 deletions man/tbl.src_dbi.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit c70016c

Please sign in to comment.