Description Usage Arguments Examples
Tests if the vector/column contains any NA values
1 2 |
setup |
the setup class |
df |
the dataframe |
... |
other arguments passed to the function |
1 2 3 4 5 6 7 8 9 10 11 | ## Not run:
df <- data.frame(x = 1:4, y = c(NA, 6:8))
setup <- setup_test_na("df_name", "x")
test <- test(setup, df)
## test$test_result returns TRUE
setup <- setup_test_na("df_name", "y")
test <- test(setup, df)
## test$test_result returns FALSE
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.