View source: R/compat_friendly_type.R
| friendly_type_of | R Documentation |
This function is deprecated, please use cli functionality instead.
friendly_type_of(x, value = TRUE, length = FALSE)
x |
Any R object.
|
value |
Whether to describe the value of
|
length |
Whether to mention the length of vectors and lists.
|
This helper function aids us in forming user-friendly messages that gets
called through what_is_it(), which is often used in the assertion functions
to identify what object-type the user passed through an argument instead of
an expected-type.
A string describing the type. Starts with an indefinite article, e.g. "an integer vector".
Other deprecated:
%or%(),
arg_name(),
enumerate(),
valid_time_units(),
what_is_it()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.