do_call: Execute a function call (deprecated)

View source: R/misc.R

do_callR Documentation

Execute a function call (deprecated)

Description

Execute a function call similar to do.call(), but without deparsing function arguments. This function is deprecated and will be removed in a future release. Where possible, please use direct function calls instead. If this is not possible, please use do.call() instead.

Usage

do_call(what, args, pkg = NULL)

Arguments

what

Either a function or a non-empty character string naming the function to be called.

args

A list of arguments to the function call. The names attribute of args gives the argument names.

pkg

Optional name of the package in which to search for the function if what is a character string.

Value

The result of the (evaluated) function call.


projpred documentation built on Oct. 1, 2023, 1:07 a.m.