Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

exprs_auto_name

Ensure that all elements of a list of expressions are named


Description

This gives default names to unnamed elements of a list of expressions (or expression wrappers such as formulas or quosures). exprs_auto_name() deparses the expressions with expr_name() by default. quos_auto_name() deparses with quo_name().

Usage

exprs_auto_name(exprs, width = NULL, printer = NULL)

quos_auto_name(quos, width = NULL)

Arguments

exprs

A list of expressions.

width

Deprecated. Maximum width of names.

printer

Deprecated. A function that takes an expression and converts it to a string. This function must take an expression as the first argument and width as the second argument.

quos

A list of quosures.


rlang

Functions for Base Types and Core R and 'Tidyverse' Features

v0.4.11
MIT + file LICENSE
Authors
Lionel Henry [aut, cre], Hadley Wickham [aut], mikefc [cph] (Hash implementation based on Mike's xxhashlite), Yann Collet [cph] (Author of the embedded xxHash library), RStudio [cph]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.