View source: R/checkForPackageWithVersion.R
checkForPackageWithVersion | R Documentation |
Utility function for making sure a package is available with a particular version or newer.
checkForPackageWithVersion(pkg, vers)
pkg |
Character. The name of the package to check. |
vers |
Character. The minimum acceptable version of the package. Will only be checked to the major.minor level. |
If the package with the required version or higher is available, TRUE
is returned
invisibly. Otherwise FALSE
is returned.
Bryan A. Hanson (DePauw University).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.