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.


tidyverse/rlang documentation built on Oct. 31, 2024, 5:35 p.m.