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().

exprs_auto_name(
  exprs,
  ...,
  repair_auto = c("minimal", "unique"),
  repair_quiet = FALSE,
  width = deprecated(),
  printer = deprecated()
)

quos_auto_name(quos, width = NULL)

Arguments

exprs

A list of expressions.

...

These dots are for future extensions and must be empty.

repair_auto

Whether to repair the automatic names. By default, minimal names are returned. See ?vctrs::vec_as_names for information about name repairing.

repair_quiet

Whether to inform user about repaired names.

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.