Learn R Programming

rlang (version 1.1.6)

friendly_type: Format a type for error messages

Description

[Deprecated]

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)

Value

A string of the prettified type, qualified with an indefinite article.

Arguments

type

A type as returned by typeof().