Learn R Programming

blockcpd (version 1.0.0)

check_input: Checks input from caller

Description

Performs a sanity check on the inputs from caller. It stops execution and outputs an error message if arguments are not in conformity with caller method.

Usage

check_input(caller, args_to_check)

Arguments

caller

name of the function that called the check_input.

args_to_check

list of arguments that will be checked.