Description Usage Arguments Value
The function modify_call
in the pryr
-package does not
always do as I expect when used inside of a function, so this
modified version of update_formals
has been used in order to
get stuff to work in a way I better understand. This approach
seems to be a bit saffer in those cases where it's desired that the
value NULL
should be used as an argument.
1 | update_call(.call, ..., .list = FALSE, .ignore = NULL)
|
.call |
The call we want to update. |
... |
|
.list |
Logic value, default |
.ignore |
Character vector, default value |
The result of this function is that the formals of
.fun
is updated at the calling environment.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.