getFuncArgs: Extract function arguments

Description Usage Arguments Value

View source: R/utilities-data-validation.R

Description

Utility function to match arguments of a function with input list and/or attributes of input object

Usage

1
getFuncArgs(targetFunc, inputList = NULL, inputObject = NULL)

Arguments

targetFunc

A character vector containing the name of the function to find the matching inputs of with arguments that need to be filled by output.

inputList

A named list of values

inputObject

An object with a predefined getFields() function that takes all attributes of object and returns them as a list

Value

List of arguments and values needed for specification of target.func


privacytoolsproject/PSI-Library documentation built on Feb. 17, 2020, 2:03 p.m.