Nothing
Code
build_qtable(mtcars, "p")
Condition
Error in `build_qtable()`:
! Can't select columns that don't exist.
x Column `p` doesn't exist.
Code
build_qtable(mtcars, "mpg", not_a_col)
Condition
Error in `build_qtable()`:
! Can't select columns that don't exist.
x Column `not_a_col` doesn't exist.
Code
build_qtable(mtcars, "mpg", c(wt, not_a_col))
Condition
Error in `build_qtable()`:
! Can't select columns that don't exist.
x Column `not_a_col` doesn't exist.
Code
build_qtable(df, c(x1, x2))
Condition
Error in `build_qtable()`:
! Error in your block column selection.
! The columns you selected as your question block do not have the same type!
i Check the type of column `x2`?
Code
build_qtable(df, c(x1, x2))
Condition
Error in `build_qtable()`:
! Error in your block column selection.
! The columns you selected have different elements.
i Consider converting your columns to factors before using `build_qtable()`.
i Or start by checking the levels of column `x2`?
Code
build_qtable(df, c(x1, x2))
Condition
Error in `build_qtable()`:
! Error in your block column selection.
! The columns you selected have different elements.
i Consider converting your columns to factors before using `build_qtable()`.
i Or start by checking the levels of column `x2`?
Code
build_qtable(df, starts_with("Q1"), table_title = "Test", use_questions = TRUE,
footnote = "A footnote")
Condition
Error in `build_qtable()`:
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.