Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Example does not use any of the functions in the man page #159

Closed
JosiahParry opened this issue May 6, 2024 · 1 comment · Fixed by #211
Closed

Example does not use any of the functions in the man page #159

JosiahParry opened this issue May 6, 2024 · 1 comment · Fixed by #211

Comments

@JosiahParry
Copy link

The man page for backend-duckdb contains documentation for simulate_duckdb, translate_duckdb, tbl_file and tbl_query. The examples for this man page do not reference any of the functions that are documented in it.

#' @name backend-duckdb
#' @aliases NULL
#' @examplesIf duckdb:::TEST_RE2 && rlang::is_installed("dbplyr")
#' library(dplyr, warn.conflicts = FALSE)
#' con <- DBI::dbConnect(duckdb(), path = ":memory:")
#'
#' dbiris <- copy_to(con, iris, overwrite = TRUE)
#'
#' dbiris %>%
#' select(Petal.Length, Petal.Width) %>%
#' filter(Petal.Length > 1.5) %>%
#' head(5)
#'
#' DBI::dbDisconnect(con, shutdown = TRUE)

@krlmlr
Copy link
Collaborator

krlmlr commented Aug 17, 2024

Thanks for raising this! Should be better now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants