Code
test_translate_sql(blah(x))
Condition
Error in `blah()`:
! Don't know how to translate `blah()`
Code
test_translate_sql(x %blah% y)
Condition
Error in `x %blah% y`:
! Don't know how to translate `%blah%`
Code
test_translate_sql(NOSUCHPACKAGE::foo())
Condition
Error:
! There is no package called NOSUCHPACKAGE
Code
test_translate_sql(dbplyr::NOSUCHFUNCTION())
Condition
Error:
! "NOSUCHFUNCTION" is not an exported object from dbplyr
Code
test_translate_sql(base::abbreviate(x))
Condition
Error in `base::abbreviate()`:
! No known SQL translation
Code
lz %>% mutate(x = NOSUCHPACKAGE::foo())
Condition
Error:
! There is no package called NOSUCHPACKAGE
Code
lz %>% mutate(x = dbplyr::NOSUCHFUNCTION())
Condition
Error:
! "NOSUCHFUNCTION" is not an exported object from dbplyr
Code
lz %>% mutate(x = base::abbreviate(x))
Condition
Error in `base::abbreviate()`:
! No known SQL translation
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.