Creates a future for do.call of func with args. Wraps do.call so that, if an error occurs, the stack trace and error message get logged appriopriately.

FutureFunctionCall(func, args, funcName = NULL, assignedProcesses = 1)

Arguments

func

a R function object

args

arguments to be used when calling func

funcName

the name of the function being passed to this call, in case an error occurs it will log out the stack trace separately

assignedProcesses

number of processes to assign to the execution of this module. If the underlying execution code leverages the package future, this will be enforced by setting a future plan on behalf of the module execution code.

Value

created future.