function_var_to_env: Puts all of the function variables in a specified environment

View source: R/debugging.R

function_var_to_envR Documentation

Puts all of the function variables in a specified environment

Description

Puts all of the function variables in a specified environment

Usage

function_var_to_env(called_fun_txt, to_env = globalenv())

Arguments

called_fun_txt

quoted text of function to dig into

to_env

environment into which the function variables will be put

Value

No return value.

Side effects

  • declare the called function arguments into the specified environment.

  • declares the default values of the uncalled arguments

Limitations

  • With the quoted function text one needs to be careful with single or double quote usage

See also

  • function_to_function


Benjamin-Vincent-Lab/housekeeping documentation built on Feb. 17, 2024, 2:13 a.m.