Learn R Programming

spartan (version 3.0.2)

execute_checks: Executes the list of check functions compiled for the calling function

Description

This returns TRUE if all arguments pass, or FALSE when the first test fails

Usage

execute_checks(check_methods_to_call, input_arguments, function_args)

Arguments

check_methods_to_call

List of check functions that should be called

input_arguments

The user's input to a function

function_args

The expected names of the arguments, provided by calling function

Value

Boolean stating whether the input checks pass or fail