This function is used to perform checks on the structure of the macro format
dataset produced by the user-supplied macro code in
Arguments
- data
(Required) Dataset to be checked to ensure it is a valid "Macro
Evaluation" structure
Value
Nothing. Only used for error generation side effects.
Author
: Francisco Gochez, Rich Pugh
Examples
checkMacroFormat(iris[1,])
if (FALSE) {
# not a data frame
checkMacroFormat( 1:10 )
# more than one row
checkMacroFormat(iris[1:2,])
}