View source: R/check_helpers.R
check_arguments | R Documentation |
This function checks if the required arguments are present in the function call. It compares the given arguments to main function argument list. It raises an error if any required arguments are missing, NULL, or empty strings and stops execution of check function. It is used used internally in the package to ensure that the necessary arguments are provided when calling the check functions.
check_arguments(dt, required_columns, data_name = NULL, ...)
dt |
required argument in the function call of any the datasets. |
required_columns |
a character vector of required column names that must be present in the function call. |
data_name |
required argument in the function call of any the datasets. |
... |
other arguments passed to the function call. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.