View source: R/validate_table_struct.R
validate_table_struct | R Documentation |
Validate and Assert valid table structure (Experimental).
validate_table_struct(tt)
assert_valid_table(tt, warn_only = FALSE)
tt |
A
|
warn_only |
logical(1). Should a warning be thrown instead of an error?
Defaults to |
for validate_table_struct
a logical value indicating valid structure;
assert_valid_table
is called for its side-effect of throwing an error
or warning for degenerate tables.
This function is experimental and the exact text of the warning/error is subject to change in future releases.
validate_table_struct(rtable("hahaha"))
## Not run: assert_valid_table(rtable("oops"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.