testRversion | R Documentation |
Compares current R version with a given target version, which may be useful for implementing version dependent code.
testRversion(x, test = 1L)
x |
target version to compare with. |
test |
numeric value that indicates the comparison to be carried out.
The comparison is based on the result from
|
a logical
testRversion("2.14")
testRversion("2.15")
testRversion("10")
testRversion("10", test = -1)
testRversion("< 10")
testRversion(Rversion())
testRversion(paste0('=', Rversion()))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.