View source: R/check_helpers.R
err_message | R Documentation |
This function creates an error message for missing arguments or columns in the function call. It is used internally in the package to provide informative error messages when required arguments or columns are not provided.
err_message(miss, error, arg_or_col = c("argument", "column"))
miss |
a character vector of missing arguments or columns. |
error |
a character string describing the error. |
arg_or_col |
a character string indicating whether the missing items are arguments or columns. It can be either "argument" or "column". The default is "argument" |
a character string containing the formatted error message.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.