keep_only_fun_args: Streamline Function Arguments

Description Usage Arguments

View source: R/utils.R

Description

Reduce a list of function argsuments by taking a function body and returning only the arguments that belong to the function signature.

Usage

1
keep_only_fun_args(Args, fun)

Arguments

Args

A list of function arguments to be streamlined.

fun

A function whose signature will be used to reduce the arguments passed in.


jeremyrcoyle/sl3 documentation built on Feb. 3, 2022, 9:12 a.m.