friendly_type {rlang} | R Documentation |
Format a type for error messages
Description
friendly_type()
is deprecated. Please use the
standalone-obj-type.R
file instead. You can import it
in your package with usethis::use_standalone("r-lib/rlang", "obj-type")
.
Usage
friendly_type(type)
Arguments
type |
A type as returned by |
Value
A string of the prettified type, qualified with an indefinite article.
[Package rlang version 1.1.6 Index]