Check that the user has declared either a file name or an R object
check_consistency_result_type(arguments, fileArg, rObjArg)
List of the arguments provided to the called function
Name of the argument for which a file should be specified
Name of the argument for which an R object should be specified
Boolean stating the current status of the pre-execution checks, or FALSE if this check fails