assignFormals {dang} | R Documentation |
Assign formal arguments from function
Description
Debugging helper to assign formals from function
Usage
assignFormals(f, env = .GlobalEnv)
Arguments
f |
A function |
env |
An environment to assign the values to, defaults to global environment, |
Details
(Beta) Attempt get default values from a given function,
extracting its arguments and assigning which should help in
debugging via browser()
and other helper functions.
Value
Nothing, but a side effect of assignment in global environment
Author(s)
Dirk Eddelbuettel
[Package dang version 0.0.16 Index]