Remove a set of dependencies from another list of dependencies. The set of dependencies to remove can be expressed as either a character vector or a list; if the latter, a warning can be emitted if the version of the dependency being removed is later than the version of the dependency object that is causing the removal.
subtractDependencies(dependencies, remove, warnOnConflict = TRUE)
A list of htmlDependency
objects from which
dependencies should be removed.
A list of htmlDependency
objects indicating which
dependencies should be removed, or a character vector indicating dependency
names.
If TRUE
, a warning is emitted for each
dependency that is removed if the corresponding dependency in remove
has a lower version number. Has no effect if remove
is provided as a
character vector.
A list of htmlDependency
objects that don't intersect
with remove
.