Check that a set of arguments inherits from a set of classes Throws an exception if one argument does not pass the checks. Argument must have AT LEAST ONE of the specified classes to pass.
make_inheritance_checks(arguments, target_classes, ignore_null = TRUE)
a list object containing argument_name=argument pairs for each argument. Argument names must be provided or else they will be ignored.
character vector of the classes to check for.
boolean. Indicates whether to ignore arguments with value NULL (TRUE) or to throw an exception (FALSE). Default = TRUE.