checkNames.Rd
Check if names are correct
checkNames(x, namesExpected, argName = NULL)
any object
character: vector of expected names
character: name of argument displayed in error message