Details
Starting from an empty msg vector, with each check
that is returning FALSE the vector gets a new element - the string
explaining the failure of the validation.
Methods
check(test, string = "")Check whether the
testisTRUE; if so, returnNULL. Otherwise, add thestringmessage into the cumulative messages vectormsg.result()Return either cumulative messages vector
msg(which contains the error messages from all the checks), orNULL, ifmsgis empty (i.e. all the checks were successful).
