check.for.updates.R function

Checks if there is a newer version of R