Skip to contents

Check if names are correct

Usage

checkNames(x, namesExpected, argName = NULL)

Arguments

x

any object

namesExpected

character: vector of expected names

argName

character: name of argument displayed in error message