compareVersion2 | R Documentation |
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)
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., |
a logical vector of the length of the longest of the 3 arguments.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.