Fixes parameters provided in the build_x_call() functions

fix_parameter(param, before = NULL, ...)

Arguments

param

list; named list with the parameter name and value (e.g. list(settlement_date = "01/01/2020"))

before

function; function to fix the parameter. param will be passed as the first argument to this function. Default NULL does nothing

...

additional arguments passed to the before function

Value

modified param object (if before isn't NULL)

See also

fix_all_parameters