Return English-friendly messaging for object-types
Source:R/compat_friendly_type.R
friendly_type_of.Rd
Return English-friendly messaging for object-types
Arguments
- x
Any R object.
- value
Whether to describe the value of
x
.- length
Whether to mention the length of vectors and lists.
Details
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.
See also
Developer Utility Functions:
%notin%()
,
%or%()
,
arg_name()
,
contains_vars()
,
convert_dtm_to_dtc()
,
extract_vars()
,
filter_if()
,
valid_time_units()
,
vars2chr()