call_new

0th

Percentile

Create a call by "hand"

Create a call by "hand"

Usage
call_new(.fn, ..., .args = list())
Arguments
.fn
Function to call. For make_call, either a string, a symbol or a quoted call. For do_call, a bare function name or call.
..., .args
Arguments to the call either in or out of a list
See Also

call_modify

Aliases
  • call_new
Examples
# fn can either be a string, a symbol or a call
call_new("f", a = 1)
call_new(quote(f), a = 1)
call_new(quote(f()), a = 1)

#' Can supply arguments individually or in a list
call_new(quote(f), a = 1, b = 2)
call_new(quote(f), .args = list(a = 1, b = 2))
Documentation reproduced from package rlang, version 0.0.0.9000, License: GPL-3

Community examples

Looks like there are no examples yet.