Description Usage Arguments See Also
library_with_dep
and require_with_dep
behave
respectively like library
and
require
, but also load and attach
dependent packages (typically packages listed in the Imports
field of the DESCRIPTION
file).
1 2 3 4 5 6 7 8 9 | library_with_dep(package, help, pos = 2, lib.loc = NULL,
character.only = FALSE, logical.return = FALSE,
warn.conflicts = TRUE, quietly = FALSE,
verbose = getOption("verbose"), which = "Imports",
recursive = FALSE, reverse = FALSE)
require_with_dep(package, lib.loc = NULL, quietly = FALSE,
warn.conflicts = TRUE, character.only = FALSE, which = "Imports",
recursive = FALSE, reverse = FALSE, verbose = getOption("verbose"))
|
package |
the name of a package, given as a name or literal character string,
or a character string, depending on whether character.only is
|
help |
the name of a package, given as a name or literal character string,
or a character string, depending on whether character.only is
|
pos |
the position on the search list at which to attach
the loaded namespace.
Can also be the name of a position on the current
search list as given by |
lib.loc |
character. A vector describing the location of R
library trees to search through, or |
character.only |
logical. Indicates whether |
logical.return |
logical. If it is |
warn.conflicts |
logical. If |
quietly |
logical. If |
verbose |
logical. If |
which |
character. A vector listing the types of dependencies,
a subset of |
recursive |
logical. Should (reverse) dependencies of (reverse) dependencies (and so on) be included? |
reverse |
logical. If |
library
and
require
from package base;
package_dependencies
from tools;
installed.packages
from utils.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.