Bug fix for Validity Check

Hi James,
I did the bug fix in the check.basic.argument.validity function and replaced the sum(c(is.null(),...))==0 with all(c(is.null(),...)). I already checked it out locally and it worked fine. 
Kind regards,
Rebekka