View source: R/util_ensure_character.R
util_ensure_character | R Documentation |
convert a value to character
util_ensure_character(x, error = FALSE, error_msg, ...)
x |
the value |
error |
logical if |
error_msg |
error message to be displayed, if conversion was not possible |
... |
additional arguments passed to util_error or util_warning
respectively in case of an error, and if an |
as.character(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.