is.package.available {tryCatchLog} | R Documentation |
Use this function to check for optional package dependencies within this package.
is.package.available(package.name)
package.name |
Name of the package (as string) |
This is a package-internal function!
See section ‘Good practice’ in '?.onAttach'.
TRUE
if the packages is installed, otherwise FALSE
http://r-pkgs.had.co.nz/description.html
tryCatchLog:::is.package.available("tryCatchLog") # must be TRUE :-)