The name of a package, given as a character string.
lib.loc
a character vector describing the location of R library trees
to search through, or NULL. The default value of NULL
corresponds to all libraries currently known to .libPaths().
Non-existent library trees are silently ignored.
character.only
a logical indicating whether package can be
assumed to be a character string.
Value
require.nowarnings returns (invisibly) a logical indicating whether the
required package is available.
Details
require.nowarnings(package) acts the same as
require(package, quietly = TRUE), except that all warnings are turned off.
In particular, no warning is given if the package is unavailable.