friendly_type

0th

Percentile

Format a type for error messages

Format a type for error messages

Usage
friendly_type(type)
Arguments
type

A type as returned by type_of() or lang_type_of().

Value

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

Aliases
  • friendly_type
Examples
# NOT RUN {
friendly_type("logical")
friendly_type("integer")
friendly_type("string")
# }
Documentation reproduced from package rlang, version 0.1.6, License: GPL-3

Community examples

Looks like there are no examples yet.