Code
name <- table_path(c("x", "y", "z"))
name
Output
<table_path> x, y, z
Code
foo(1)
Condition
Error in `foo()`:
! `y` must be a <table_path>, not a string.
i This is an internal error that was detected in the dbplyr package.
Please report it at <https://github.com/tidyverse/dbplyr/issues> with a reprex (<https://tidyverse.org/help/>) and the full backtrace.
Code
as_table_path("x")
Condition
Error in `as_table_path()`:
! `con` is absent but must be supplied.
Code
as_table_path(c("x", "y"), con)
Condition
Error:
! `c("x", "y")` must be a single string, not a character vector.
Code
as_table_path(1, con)
Condition
Error in `as_table_path()`:
! `1` uses unknown specification for table name
Code
as_table_path(I(1), con)
Condition
Error:
! `I(1)` must be a single string, not the number 1.
Code
as_table_path(sql("x"), con)
Condition
Warning:
`sql("x")` uses SQL where a table identifier is expected.
i If you want to use a literal (unquoted) identifier use `I()` instead.
Output
<table_path> x
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.