compareVersion2 {Require} | R Documentation |
Compare package versions
Description
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.
Usage
compareVersion2(version, versionSpec, inequality)
Arguments
version |
One or more package versions. Can be |
versionSpec |
One or more versions to compare to.
Can be |
inequality |
The inequality to use, i.e., |
Value
a logical vector of the length of the longest of the 3 arguments.
[Package Require version 1.0.0 Index]