check_package | R Documentation |
Check that a package is available.
check_package(pkg, msg = NULL, call. = FALSE)
pkg |
'character' string. Package name. |
msg |
'character' string. Action package is used for. |
call. |
'logical' flag. Whether the function should be part of the error message. |
Stops execution if the package is missing from the name space.
J.C. Fisher, U.S. Geological Survey, Idaho Water Science Center
check_package(pkg = "inldata", msg = "Dataset access")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.