mat_check_0row | R Documentation |
Check 0 rows
mat_check_0row(
df,
message_ok = "OK",
warn_message = NULL,
stop_message = NULL,
print_df = TRUE,
n_row = 0
)
df |
data |
message_ok |
the ok message |
warn_message |
message if only wants wanr |
stop_message |
message when stopping |
print_df |
print when error? |
n_row |
number of rows to check for |
mat_check_0row(df=subset(iris, Species=="aaa"))
mat_check_0row(df=subset(iris, Species=="setosa"), warn_message ="make sure no setosa?")
## Not run:
mat_check_0row(df=subset(iris, Species=="setosa"))
mat_check_0row(df=subset(iris, Species=="setosa"), stop_message ="Should not have setosa")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.