R: Checks whether a package has already been installed. If it...
validate_installed_package
R Documentation
Checks whether a package has already been installed. If it has, and if the version corresponds to the
required package version, then it returns TRUE. If it has been installed and the version does
not correspond to the required version, then it throws an exception. Otherwise, it returns false.
Description
Checks whether a package has already been installed. If it
has, and if the version corresponds to the required package
version, then it returns TRUE. If it has been installed and
the version does not correspond to the required version,
then it throws an exception. Otherwise, it returns false.