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.
compareVersion2(version, versionSpec, inequality)a logical vector of the length of the longest of the 3 arguments.
One or more package versions. Can be character or numeric_version.
One or more versions to compare to.
Can be character or numeric_version.
The inequality to use, i.e., >=.