Clear options of previously specified content. In most cases, calling drain
with no arguments will be sufficient, but the arguments .slot and .pkg,
and their corresponding functions drain_interactive() and drain_package()
are provided in case greater control is needed. This is rarely needed for
packages, but it is possible to manually specify the use of multiple slots
when using potions::brew() interactively.
drain(.slot, .pkg)drain_package(.pkg)
drain_interactive(.slot)
This function never returns an object; it is called for its' side-
effect of removing data from options().
Note that this function is not vectorized, so passing multiple
values to .slot or .pkg will fail (e.g. drain(.slot = c("x", "y"))).
Similarly, passing arguments to both .slot and .pkg will fail.