call_new: Create a call by "hand"

Description Usage Arguments Examples

Description

Create a call by "hand"

Usage

1
call_new(f, ..., .args = list())

Arguments

f

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

Examples

1
2
3
4
5
6
7
8
# f 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))

lazyeval documentation built on May 2, 2019, 2:11 a.m.