| check_data.table | R Documentation |
Check data.table
check_data.table(x, arg_name = deparse(substitute(x)))
x |
Object to check. |
arg_name |
Character: Name of the variable for error messages. |
Called for side effects. Throws an error if input is not a data.table, returns x invisibly otherwise.
EDG
check_data.table(data.table::as.data.table(iris))
# Throws error:
try(check_data.table(iris))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.