Nothing
Code
test_fun(mtcars, "m")
Condition
Error in `test_fun()`:
! Can't select columns that don't exist.
x Column `m` doesn't exist.
Code
test_fun(mtcars, mpg, "cats")
Condition
Error in `test_fun()`:
! There are no columns that exist that start with `cats`.
Code
my_function("hello", "test", TRUE, TRUE, c("This is a footnote", "terribe"))
Condition
Error in `my_function()`:
i In argument: `x`.
! `x` must be a data frame or tibble, not a string.
Code
my_function(mtcars, 123, TRUE, TRUE, c("This is a footnote", "terribe"))
Condition
Error in `my_function()`:
i In argument: `table_title`.
! `table_title` must be a string, not a number.
Code
my_function(mtcars, "test", 123, TRUE, c("This is a footnote", "terribe"))
Condition
Error in `my_function()`:
i In argument: `use_questions`.
! `use_questions` must be TRUE or FALSE, not a number.
Code
my_function(mtcars, "test", TRUE, 123, c("This is a footnote", "terribe"))
Condition
Error in `my_function()`:
i In argument: `use_NA`.
! `use_NA` must be TRUE or FALSE, not a number.
Code
my_function(mtcars, "test", TRUE, TRUE, mtcars)
Condition
Error in `my_function()`:
i In argument: `footnote`.
! `footnote` must be `""`, not a data frame.
Code
my_function(mtcars, "test", TRUE, TRUE, "This is a footnote")
Condition
Error in `my_function()`:
x You can't specify `use_question = TRUE` and have a footnote.
i Either set `use_question = FALSE` or do not have a footnote.
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.