Learn R Programming

precommit (version 0.4.3)

ensure_named: Name the input

Description

Name the input

Usage

ensure_named(x, candidate_name = NULL, f = identity)

Arguments

x

A vector.

f

How to transform the input x into a name.