merge_call_args: Merge call arguments with default formals

View source: R/helpfunctions_checks.R

merge_call_argsR Documentation

Merge call arguments with default formals

Description

Merge call arguments with default formals

Usage

merge_call_args(formals, call, sframe)

Arguments

formals

List of formal arguments for ⁠*_imp()⁠.

call

The matched call from ⁠*_imp()⁠ as returned by match.call().

sframe

The environment within ⁠*_imp()⁠ (obtained from sys.frame(sys.nframe()))

Value

A list of arguments combining defaults and user-specified values.

Note

Helper function for prep_arglist.


JointAI documentation built on Jan. 30, 2026, 5:07 p.m.