Require Multiple NamespacesSource:
Packages are loaded (not attached) via
If at least on package can not be loaded, an exception of class "packageNotFoundError" is raised.
The character vector of missing packages is stored in the condition as
require_namespaces( pkgs, msg = "The following packages could not be loaded: %s", quietly = FALSE )
Packages to load.
Message to print on error. Use
"%s"as placeholder for the list of packages.
TRUEif all packages are loaded, otherwise
character()) of loaded packages (invisibly).