keep_only_fun_args: Streamline Function Arguments

View source: R/utils.R

keep_only_fun_argsR Documentation

Streamline Function Arguments

Description

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

Usage

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.


tlverse/sl3 documentation built on Nov. 18, 2024, 12:46 a.m.