Validate the user supplied functions arguments.
Source:R/validate_usr_fn_args.R
validate_usr_fn_args.Rd
Checks whether the expected function arguments are supplied. Throws a meaningful error in case the expected and supplied arguments are mismatched.
Usage
validate_usr_fn_args(
fn,
fn_type = c("data_prepare", "stat_by_strata_by_trt", "stat_by_strata_across_trt",
"stat_across_strata_across_trt", "crit_endpoint", "crit_by_strata_by_trt",
"crit_by_strata_across_trt"),
fn_name = NA_character_
)