R/utilities.R
clean.OSversion.Rd
Returns the main version number.
clean.OSversion(Version.number)
A string with the version number; e.g., "10.15.7". Because version numbers can have multiple points, they are not considered numbers within R and thus they are strings.
R
integer of the main version number
Emilio Xavier Esposito emilio.esposito@gmail.com (https://github.com/emilioxavier)
clean.OSversion("10.15.7") #> [1] 10 # 10 clean.OSversion("11.3") #> [1] 11 # 11