set_argnames: Make names for unnamed symbol arguments

View source: R/functions.R

set_argnamesR Documentation

Make names for unnamed symbol arguments

Description

Make names for unnamed symbol arguments

Usage

set_argnames(args, data = args)

Arguments

args

the unevaluated argument list

data

the list to be named (args by default)

Details

The elements of an unevaluated list of arguments may or may not have names as given by user. For example, list.select requires user to specify the fields to select. These fields are unevaluated arguments, some of which are symbols and others are calls. For the symbols, it is natural to make the resulted lists to have the same name for the particular arguments.


renkun-ken/rlist documentation built on March 16, 2023, 8:25 p.m.