Alternative to utils::compareVersion that is vectorized on version,
versionSpec and/or inequality. This will also return an NA element
in the returned vector if one of the arguments has NA for that element.
See also
Other version specifications:
extractPkgName(),
parseGitHub(),
trimRedundancies(),
trimVersionNumber()