View source: R/utility_functions.R
compare_version | R Documentation |
Function to compare package version for mocking
compare_version(a, b)
a , b |
Character strings representing package version numbers. |
Numeric. 0
if the numbers are equal, -1
if b
is later and 1
if a
is later
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.