qualifyFunctionArguments: Qualify function arguments.

Description Usage Arguments Value Author(s) Examples

View source: R/qualifyFunctionArguments.R

Description

Use method qualifyFunctionArguments to retrieve information about function arguments.

Usage

1

Arguments

fun_f_1

A constrained vector of function values. Vector length must be 1.

Value

A list with following names

argument_names

a character vector of all the function argument names

owns_ellipsis

a boolean. Is TRUE when ... belongs to argument names

symbol_names

a character vector of argument names that are symbols

symbol_indexes

the integer indexes of symbol names in the argument names

stripped_symbol_names

a character vector of argument names that are symbols, not considering ...

stripped_symbol_indexes

the integer indexes of stripped symbol names in the argument names

default_names

a character vector of argument names that owns default values

default_indexes

the integer indexes of default valued arguments names in the argument names

arguments

a pairList of argument names and values. See formals

Author(s)

Fabien Gelineau <neonira@gmail.com>

Maintainer: Fabien Gelineau <neonira@gmail.com>

Examples

1
2
3
4
5
6
7

neonira/wyz.code.metaTesting documentation built on Feb. 19, 2020, 12:46 p.m.