Learn R Programming

epikit (version 0.1.6)

dots_to_charlist: Convert dots to a list of character vectors

Description

This function is intended to allow the user to use NSE within their dot calls for the express purpose of renaming functions. This function is intended for internal use to be passed to other MSF packages.

Usage

dots_to_charlist(parent = 1L)

Value

a list of character vectors

Arguments

parent

the level of the parent function. Defaults to 1, which selects the dots from the immediate parent.

Examples

Run this code
x <- function(...) {
  dots_to_charlist()
}
x(a = 1, b = TRUE, c = three)

Run the code above in your browser using DataLab