View source: R/check-input-helpers.R
test_columns_present | R Documentation |
The function checks whether all column names are present. If one or more columns are missing, the function returns FALSE. If all columns are present, the function returns TRUE.
test_columns_present(data, columns)
data |
A data.frame or similar to be checked |
columns |
A character vector of column names to check |
Returns TRUE if all columns are present and FALSE otherwise
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.