View source: R/make_inheritance_checks.R
make_inheritance_checks | R Documentation |
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)
arguments |
a list object containing argument_name=argument pairs for each argument. Argument names must be provided or else they will be ignored. |
target_classes |
character vector of the classes to check for. |
ignore_null |
boolean. Indicates whether to ignore arguments with value NULL (TRUE) or to throw an exception (FALSE). Default = TRUE. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.