Nothing
Code
to_df(NULL, allow_null = FALSE)
Condition
Error:
! `NULL` must not be <NULL>.
Code
wrapped_to_df(NULL, allow_null = FALSE)
Condition
Error in `wrapped_to_df()`:
! `val` must not be <NULL>.
Code
to_df(list(a = 1:3, b = 1:2))
Condition
Error:
! Can't coerce `list(a = 1:3, b = 1:2)` <list> to <data.frame>.
i All list elements must have length 3 or 1.
x Short elements: b = 2.
Code
wrapped_to_df(list(a = 1:3, b = 1:2))
Condition
Error in `wrapped_to_df()`:
! Can't coerce `val` <list> to <data.frame>.
i All list elements must have length 3 or 1.
x Short elements: b = 2.
Code
to_df(list(1, 2))
Condition
Error:
! `list(1, 2)` must have all elements named.
Code
to_df("not a data frame")
Condition
Error:
! Can't coerce `"not a data frame"` <character> to <data.frame>.
Code
to_df(as.Date("2024-01-01"))
Condition
Error:
! Can't coerce `as.Date("2024-01-01")` <Date> to <data.frame>.
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.