Substitutes the call arguments if they can be evaluated without error.

# S3 method for lcMethod
evaluate(
  object,
  classes = "ANY",
  try = TRUE,
  exclude = character(),
  envir = NULL,
  ...
)

Arguments

object

The lcMethod object.

classes

Substitute only arguments with specific class types. By default, all types are substituted.

try

Whether to try to evaluate arguments and ignore errors (the default), or to fail on any argument evaluation error.

exclude

Arguments to exclude from evaluation.

envir

The environment in which to evaluate the arguments. If NULL, the environment associated with the object is used. If not available, the parent.frame() is used.

...

Not used.

Value

A new lcMethod object with the substituted arguments.