This function checks whether the installed version of the
  package pkg is greater than or equal to ver.
It is useful in stand-alone R scripts, which often require
  a particular version of a package in order to work correctly.
This function should not be used inside a package:
  for that purpose, the dependence on packages and versions
  should be specified in the package description file.