Check Package
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.
check_package(pkg = "inldata", msg = "Dataset access")
J.C. Fisher, U.S. Geological Survey, Idaho Water Science Center
Useful links