friendly_type: Format a type for error messages

View source: R/lifecycle-deprecated.R

friendly_typeR Documentation

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)

Arguments

type

A type as returned by typeof().

Value

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


hadley/rlang documentation built on Dec. 17, 2024, 3:26 a.m.