Skip to content

Latest commit

 

History

History
18 lines (15 loc) · 392 Bytes

numeric_version.md

File metadata and controls

18 lines (15 loc) · 392 Bytes
numeric_version("1.23-456")
#> [1] '1.23.456'
utils::packageVersion("tibble")
#> [1] '2.1.3'
getRversion()
#> [1] '3.6.3'

numeric_version("1.2") < numeric_version("1.3")
#> [1] TRUE
numeric_version("1.23") < numeric_version("1.3")
#> [1] FALSE

numeric_version("1.2")[NA]
#> [1] <NA>

Created on 2020-03-03 by the reprex package (v0.3.0)