Description Usage Arguments Value Examples
Check if a package is installed for the user.
1 | check_package(pkg, version)
|
pkg |
Name of the package |
version |
the latest version to be checked |
1 if the package is not installed; -1 if the package is not up to date; 0 if the package if the package is installed and up to date.
1 2 3 4 5 | ## Not run:
check_package("RDocumentation","0.2")
check_package("utils","3.3.1")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.